diff --git a/cmd/kube-apiserver/app/preflight/checks_test.go b/cmd/kube-apiserver/app/preflight/checks_test.go index 71a59399cd1..da6ad0f3aca 100644 --- a/cmd/kube-apiserver/app/preflight/checks_test.go +++ b/cmd/kube-apiserver/app/preflight/checks_test.go @@ -31,7 +31,7 @@ func TestParseServerURIGood(t *testing.T) { reference := "127.0.0.1:2379" if host != reference { - t.Fatal("server uri was not parsed correctly") + t.Fatalf("server uri was not parsed correctly, host %s was invalid", host) } }