"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cmd/buildah/main.go" between
buildah-1.21.0.tar.gz and buildah-1.21.1.tar.gz

About: Buildah is a tool that facilitates building Open Container Initiative (OCI) container images.

main.go  (buildah-1.21.0):main.go  (buildah-1.21.1)
skipping to change at line 133 skipping to change at line 133
logrusLvl, err := logrus.ParseLevel(strLvl) logrusLvl, err := logrus.ParseLevel(strLvl)
if err != nil { if err != nil {
return errors.Wrapf(err, "unable to parse log level") return errors.Wrapf(err, "unable to parse log level")
} }
logrus.SetLevel(logrusLvl) logrus.SetLevel(logrusLvl)
if globalFlagResults.Debug { if globalFlagResults.Debug {
logrus.SetLevel(logrus.DebugLevel) logrus.SetLevel(logrus.DebugLevel)
} }
switch cmd.Use { switch cmd.Use {
case "", "help", "version", "mount", "login", "logout": case "", "help", "version", "mount":
return nil return nil
} }
unshare.MaybeReexecUsingUserNamespace(false) unshare.MaybeReexecUsingUserNamespace(false)
if globalFlagResults.CPUProfile != "" { if globalFlagResults.CPUProfile != "" {
globalFlagResults.cpuProfileFile, err = os.Create(globalFlagResul ts.CPUProfile) globalFlagResults.cpuProfileFile, err = os.Create(globalFlagResul ts.CPUProfile)
if err != nil { if err != nil {
logrus.Fatalf("could not create CPU profile %s: %v", glob alFlagResults.CPUProfile, err) logrus.Fatalf("could not create CPU profile %s: %v", glob alFlagResults.CPUProfile, err)
} }
if err = pprof.StartCPUProfile(globalFlagResults.cpuProfileFile); err != nil { if err = pprof.StartCPUProfile(globalFlagResults.cpuProfileFile); err != nil {
logrus.Fatalf("error starting CPU profiling: %v", err) logrus.Fatalf("error starting CPU profiling: %v", err)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)