Converting logging enums to constants

This commit is contained in:
jillianwilson
2023-08-03 15:39:33 -03:00
parent 5c41962aea
commit d3d0cfa281
5 changed files with 11 additions and 13 deletions

View File

@@ -55,7 +55,7 @@ func GetOperatorNamespace() (string, error) {
return "", err
}
ns := strings.TrimSpace(string(nsBytes))
log.V(int(logs.DebugLevel)).Info("Found namespace", "Namespace", ns)
log.V(logs.DebugLevel).Info("Found namespace", "Namespace", ns)
return ns, nil
}