From f963a08ffa23875107af4c9074eaa3f92e696c43 Mon Sep 17 00:00:00 2001 From: jichenjc Date: Mon, 3 Jun 2019 03:23:24 +0000 Subject: [PATCH] downgrade log of util.ExecuteCommand As this error E0531 is not that ueful and no need to be mark this as 'E', use Info level should be fine as this won't affect return value. --- pkg/util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/util.go b/pkg/util/util.go index 519b2add7f0d..cacb0b52be38 100644 --- a/pkg/util/util.go +++ b/pkg/util/util.go @@ -165,7 +165,7 @@ func ExecCommand(name string, args ...string) string { cmdOut, err := exec.Command(name, args...).Output() if err != nil { s := strings.Join(append([]string{name}, args...), " ") - klog.Errorf("error executing command %q: %v", s, err) + klog.Infof("Executing command %q: %v", s, err) } return string(cmdOut) }