mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix go vet errors
Signed-off-by: Chris Seto <chriskseto@gmail.com>
This commit is contained in:
parent
2d61de4625
commit
04f76b67c9
2 changed files with 3 additions and 3 deletions
|
@ -157,7 +157,7 @@ func makeTestContainer(c *check.C, options testContainerOptions) (containerID st
|
|||
if status != 0 {
|
||||
logs = "UNABLE TO GET LOGS"
|
||||
}
|
||||
c.Fatalf("failed to make test container, exit code (%d): %s", exitCode, logs)
|
||||
c.Fatalf("failed to make test container, exit code (%s): %s", exitCode, logs)
|
||||
}
|
||||
|
||||
return
|
||||
|
|
|
@ -409,11 +409,11 @@ func TestParseNetworkOptsNegativePorts(t *testing.T) {
|
|||
t.Fail()
|
||||
}
|
||||
if len(ports) != 0 {
|
||||
t.Logf("Expected nil got %s", len(ports))
|
||||
t.Logf("Expected nil got %d", len(ports))
|
||||
t.Fail()
|
||||
}
|
||||
if len(bindings) != 0 {
|
||||
t.Logf("Expected 0 got %s", len(bindings))
|
||||
t.Logf("Expected 0 got %d", len(bindings))
|
||||
t.Fail()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue