Skip to content

Commit

Permalink
downgrade log of util.ExecuteCommand
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jichenjc committed Jun 4, 2019
1 parent 30d2ec8 commit f963a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit f963a08

Please sign in to comment.