1
0
mirror of https://github.com/moby/moby.git synced 2025-07-30 18:23:29 +03:00

Fix vet warning

Signed-off-by: Paul Mou <ppymou@gmail.com>
This commit is contained in:
paul
2015-03-25 20:18:42 -07:00
parent f84086be2a
commit c5bf2145f1
6 changed files with 23 additions and 21 deletions

View File

@ -75,7 +75,7 @@ func TestLinksInvalidContainerTarget(t *testing.T) {
t.Fatal("an invalid container target should produce an error")
}
if !strings.Contains(out, "Could not get container") {
t.Fatal("error output expected 'Could not get container', but got %q instead; err: %v", out, err)
t.Fatalf("error output expected 'Could not get container', but got %q instead; err: %v", out, err)
}
logDone("links - linking to non-existent container should not work")