diff --git a/pkg/healthchecker/health_checker.go b/pkg/healthchecker/health_checker.go index e3be82b1..94b718c8 100644 --- a/pkg/healthchecker/health_checker.go +++ b/pkg/healthchecker/health_checker.go @@ -177,7 +177,7 @@ func execCommand(timeout time.Duration, command string, args ...string) (string, cmd := exec.CommandContext(ctx, command, args...) out, err := cmd.CombinedOutput() if err != nil { - klog.Infof("command %v failed: %v, %v\n", cmd, err, out) + klog.Infof("command %v failed: %v, %s\n", cmd, err, string(out)) return "", err }