From 1379fc81839722b869e4f715cbe99f7935e74119 Mon Sep 17 00:00:00 2001 From: "Tim St. Clair" Date: Wed, 6 Apr 2016 10:56:33 -0700 Subject: [PATCH] Fix e2e test command output formatting --- integration/runner/runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/runner/runner.go b/integration/runner/runner.go index 97d56a06..8738830e 100644 --- a/integration/runner/runner.go +++ b/integration/runner/runner.go @@ -75,7 +75,7 @@ func getAttributes(ipAddress, portStr string) (*cadvisorApi.Attributes, error) { func RunCommand(cmd string, args ...string) error { output, err := exec.Command(cmd, args...).CombinedOutput() if err != nil { - return fmt.Errorf("command %q %q failed with error: %v and output: %v", cmd, args, err, output) + return fmt.Errorf("command %q %q failed with error: %v and output: %s", cmd, args, err, output) } return nil