mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-10 11:29:30 +00:00
Fix a test file log error
Kubernetes-commit: a0c9d126e416f8b6822c8cc7e732b6e4766124dd
This commit is contained in:
committed by
Kubernetes Publisher
parent
ef81ee0960
commit
8d8ad929bb
@@ -287,7 +287,7 @@ func TestAnonymousConfig(t *testing.T) {
|
|||||||
_, actualError := actual.Dial(context.Background(), "", "")
|
_, actualError := actual.Dial(context.Background(), "", "")
|
||||||
_, expectedError := expected.Dial(context.Background(), "", "")
|
_, expectedError := expected.Dial(context.Background(), "", "")
|
||||||
if !reflect.DeepEqual(expectedError, actualError) {
|
if !reflect.DeepEqual(expectedError, actualError) {
|
||||||
t.Fatalf("CopyConfig dropped the Dial field")
|
t.Fatalf("AnonymousClientConfig dropped the Dial field")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
actual.Dial = nil
|
actual.Dial = nil
|
||||||
|
Reference in New Issue
Block a user