fix: lint issue

This commit is contained in:
Kevin Franklin Kim 2024-09-23 08:43:20 +02:00
parent 0d147cbe2a
commit ec74411aa1
No known key found for this signature in database

View File

@ -22,7 +22,7 @@ func (l Logger) Init(info logr.RuntimeInfo) {
}
func (l Logger) Enabled(level int) bool {
return log.AtomicLevel().Enabled(zapcore.Level(-1 * level))
return log.AtomicLevel().Enabled(zapcore.Level(-1 * level)) //nolint:gosec
}
func (l Logger) Info(level int, msg string, keysAndValues ...interface{}) {