Skip to content

Commit ed66f8e

Browse files
ngopalak-redhatsaschagrunert
authored andcommitted
Fix the logging at the given verbosity
Co-authored-by: Sascha Grunert <[email protected]>
1 parent 88f32be commit ed66f8e

File tree

1 file changed

+1
-1
lines changed
  • cmd/security-profiles-operator

1 file changed

+1
-1
lines changed

cmd/security-profiles-operator/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ func initLogging(ctx *cli.Context) error {
298298
ctrl.SetLogger(ctrl.Log.V(int(level)))
299299

300300
if err := logConfig.Verbosity().Set(strconv.FormatUint(uint64(level), 10)); err != nil {
301-
return fmt.Errorf("setting the verbosity flag to level %d : %w", level, err)
301+
return fmt.Errorf("setting the verbosity flag to level %d: %w", level, err)
302302
}
303303

304304
ctrl.Log.Info(fmt.Sprintf("Set logging verbosity to %d", level))

0 commit comments

Comments
 (0)