mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-08 16:30:57 -04:00
print the name of invalid host to help to fix the bug
This commit is contained in:
parent
4def5add11
commit
a78eeebe2d
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue