Rename metadata.NewConfigOrDie to be consistent

Updated name to match dynamic client

Kubernetes-commit: 98d87a4f03e22bb8e4d22460855913d23930685a
This commit is contained in:
Clayton Coleman
2019-07-10 18:35:45 -04:00
committed by Kubernetes Publisher
parent 79ec8b81e2
commit 0f7aa3096b
2 changed files with 3 additions and 3 deletions

View File

@@ -236,7 +236,7 @@ func TestClient(t *testing.T) {
defer s.Close()
cfg := ConfigFor(&rest.Config{Host: s.URL})
client := NewConfigOrDie(cfg).(*Client)
client := NewForConfigOrDie(cfg).(*Client)
tt.want(t, client)
})
}