Fix a test file log error

Kubernetes-commit: a0c9d126e416f8b6822c8cc7e732b6e4766124dd
This commit is contained in:
Zhao Yuwei
2018-12-27 10:52:34 +08:00
committed by Kubernetes Publisher
parent ef81ee0960
commit 8d8ad929bb

View File

@@ -287,7 +287,7 @@ func TestAnonymousConfig(t *testing.T) {
_, actualError := actual.Dial(context.Background(), "", "")
_, expectedError := expected.Dial(context.Background(), "", "")
if !reflect.DeepEqual(expectedError, actualError) {
t.Fatalf("CopyConfig dropped the Dial field")
t.Fatalf("AnonymousClientConfig dropped the Dial field")
}
} else {
actual.Dial = nil