Merge pull request #1002 from mrunalp/lint_fix
test: Modify Fatal to Fatalf as we have a specifier
This commit is contained in:
commit
a8224f8be1
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue