Skip to content

Commit

Permalink
Fix typo in minikube_test.go: call Fatalf instead of Fatal. (kubernet…
Browse files Browse the repository at this point in the history
  • Loading branch information
spew authored and k8s-ci-robot committed May 25, 2018
1 parent 9545eb3 commit 79f7f6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clusterctl/clusterdeployer/minikube/minikube_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ func TestGetKubeconfig(t *testing.T) {
m.kubeconfigpath = f
c, err := m.GetKubeconfig()
if err != nil {
t.Fatal("Unexpected err. Got: %v", err)
t.Fatalf("Unexpected err. Got: %v", err)
return
}
if c != contents {
t.Fatal("Unexpected contents. Got: %v, Want: %v", c, contents)
t.Fatalf("Unexpected contents. Got: %v, Want: %v", c, contents)
}
})
}
Expand Down

0 comments on commit 79f7f6a

Please sign in to comment.