mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix some go vet errors
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
382f187b1a
commit
4ee05a4d3e
3 changed files with 5 additions and 5 deletions
|
@ -26,7 +26,7 @@ func TestPullImageWithAliases(t *testing.T) {
|
|||
}
|
||||
defer deleteImages(repo)
|
||||
if out, err := exec.Command(dockerBinary, "push", repo).CombinedOutput(); err != nil {
|
||||
t.Fatalf("Failed to push image %v: error %v, output %q", err, string(out))
|
||||
t.Fatalf("Failed to push image %v: error %v, output %q", repo, err, string(out))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ func TestPullVerified(t *testing.T) {
|
|||
|
||||
// push it
|
||||
if out, err := exec.Command(dockerBinary, "push", repo).CombinedOutput(); err != nil {
|
||||
t.Fatalf("Failed to push image %v: error %v, output %q", err, string(out))
|
||||
t.Fatalf("Failed to push image %v: error %v, output %q", repo, err, string(out))
|
||||
}
|
||||
|
||||
// remove it locally
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue