From 65b22e7a78246f9128f2adbc8d71c6932246f301 Mon Sep 17 00:00:00 2001 From: Chris Seto Date: Sat, 25 Jul 2015 16:58:19 -0400 Subject: [PATCH] Fix go vet errors Signed-off-by: Chris Seto --- nat/nat_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nat/nat_test.go b/nat/nat_test.go index 77baa45..d9472cc 100644 --- a/nat/nat_test.go +++ b/nat/nat_test.go @@ -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() } }