mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
comment debug logs
This commit is contained in:
parent
2554919dc3
commit
d5979e8387
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ func setObserverdGenerationAsZero(bytes []byte) []byte {
|
|||
json.Unmarshal(bytes, &objectJSON)
|
||||
status, ok := objectJSON["status"].(map[string]interface{})
|
||||
if !ok {
|
||||
glog.Error("status block not found, not setting observed generation")
|
||||
// glog.Error("status block not found, not setting observed generation")
|
||||
return bytes
|
||||
}
|
||||
status["observedGeneration"] = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue