Fix go vet errors
Signed-off-by: Chris Seto <chriskseto@gmail.com>
This commit is contained in:
parent
9f1a11056c
commit
65b22e7a78
1 changed files with 2 additions and 2 deletions
|
@ -409,11 +409,11 @@ func TestParseNetworkOptsNegativePorts(t *testing.T) {
|
||||||
t.Fail()
|
t.Fail()
|
||||||
}
|
}
|
||||||
if len(ports) != 0 {
|
if len(ports) != 0 {
|
||||||
t.Logf("Expected nil got %s", len(ports))
|
t.Logf("Expected nil got %d", len(ports))
|
||||||
t.Fail()
|
t.Fail()
|
||||||
}
|
}
|
||||||
if len(bindings) != 0 {
|
if len(bindings) != 0 {
|
||||||
t.Logf("Expected 0 got %s", len(bindings))
|
t.Logf("Expected 0 got %d", len(bindings))
|
||||||
t.Fail()
|
t.Fail()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue