Bump golanglint-ci to 1.60.3

This commit is contained in:
Joshua Casey
2024-09-03 07:34:30 -05:00
parent f476259bbf
commit 08abff1cae
17 changed files with 32 additions and 27 deletions

View File

@@ -57,6 +57,7 @@ func ValidateAndSetLogLevelAndFormatGlobally(ctx context.Context, spec LogSpec)
if _, err := logs.GlogSetter(strconv.Itoa(int(klogLevel))); err != nil {
panic(err) // programmer error
}
//nolint:gosec // the range for klogLevel is [0,108]
globalLevel.SetLevel(zapcore.Level(-klogLevel)) // klog levels are inverted when zap handles them
var encoding string