mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-29 02:45:06 +00:00
gofmt
This commit is contained in:
parent
956cb0559a
commit
e466a8e1df
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ func cleanupOldCrd(client *dclient.Client) {
|
|||
gvr := client.DiscoveryClient.GetGVRFromKind("NamespacedPolicyViolation")
|
||||
if !reflect.DeepEqual(gvr, (schema.GroupVersionResource{})) {
|
||||
if err := client.DeleteResource("CustomResourceDefinition", "", "namespacedpolicyviolations.kyverno.io", false); err != nil {
|
||||
glog.Info("Failed to remove previous CRD namespacedpolicyviolations: %v", err)
|
||||
glog.Infof("Failed to remove previous CRD namespacedpolicyviolations: %v", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue