From e466a8e1df1c22c705de7b9156e8ce31e33e6e1b Mon Sep 17 00:00:00 2001 From: Shuting Zhao Date: Thu, 2 Jan 2020 19:46:02 -0800 Subject: [PATCH] gofmt --- cmd/kyverno/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kyverno/main.go b/cmd/kyverno/main.go index a2394dc0ff..65e2449146 100644 --- a/cmd/kyverno/main.go +++ b/cmd/kyverno/main.go @@ -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) } } }