mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
775 circle ci fixes
This commit is contained in:
parent
ed45dc12c0
commit
ad3fcb500f
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ func patchedResourceHasPodControllerAnnotation(resource unstructured.Unstructure
|
||||||
}
|
}
|
||||||
|
|
||||||
resourceRaw, _ := json.Marshal(resource.Object)
|
resourceRaw, _ := json.Marshal(resource.Object)
|
||||||
json.Unmarshal(resourceRaw, &podController)
|
_ = json.Unmarshal(resourceRaw, &podController)
|
||||||
|
|
||||||
_, ok := podController.Spec.Template.Metadata.Annotations[PodTemplateAnnotation]
|
_, ok := podController.Spec.Template.Metadata.Annotations[PodTemplateAnnotation]
|
||||||
return ok
|
return ok
|
||||||
|
|
Loading…
Reference in a new issue