Merge pull request #1002 from mrunalp/lint_fix

test: Modify Fatal to Fatalf as we have a specifier
This commit is contained in:
Daniel J Walsh 2017-10-12 09:27:40 -04:00 committed by GitHub
commit a8224f8be1

View file

@ -114,7 +114,7 @@ func TestGetContainerInfo(t *testing.T) {
t.Fatalf("expected sandbox to be testsandboxid, got %s", ci.Sandbox) t.Fatalf("expected sandbox to be testsandboxid, got %s", ci.Sandbox)
} }
if ci.IP != "1.1.1.42" { if ci.IP != "1.1.1.42" {
t.Fatal("expected ip 1.1.1.42, got %s", ci.IP) t.Fatalf("expected ip 1.1.1.42, got %s", ci.IP)
} }
if len(ci.Annotations) == 0 { if len(ci.Annotations) == 0 {
t.Fatal("annotations are empty") t.Fatal("annotations are empty")