Merge pull request #9643 from LK4D4/fix_vet_errors

Fix vet errors
Upstream-commit: 17cacf3326edde6d177e12132f74fc0174bda1d2
Component: engine
This commit is contained in:
Michael Crosby
2014-12-16 12:04:15 -08:00
14 changed files with 37 additions and 37 deletions

View File

@ -2760,7 +2760,7 @@ func TestRunTtyWithPipe(t *testing.T) {
if out, _, err := runCommandWithOutput(cmd); err == nil {
t.Fatal("run should have failed")
} else if !strings.Contains(out, expected) {
t.Fatal("run failed with error %q: expected %q", out, expected)
t.Fatalf("run failed with error %q: expected %q", out, expected)
}
}()