From f3266711de8068b80d1cfeaae9156a56a9569813 Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Wed, 15 Feb 2023 11:01:34 -0800 Subject: [PATCH] change errorf to warnf for aduit error --- cmd/minikube/cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/minikube/cmd/root.go b/cmd/minikube/cmd/root.go index d7f7ef4fae..3dee90f29f 100644 --- a/cmd/minikube/cmd/root.go +++ b/cmd/minikube/cmd/root.go @@ -88,7 +88,7 @@ var RootCmd = &cobra.Command{ }, PersistentPostRun: func(cmd *cobra.Command, args []string) { if err := audit.LogCommandEnd(auditID); err != nil { - klog.Errorf("failed to log command end to audit: %v", err) + klog.Warningf("failed to log command end to audit: %v", err) } }, }