Update client callers to use explicit versions

Kubernetes-commit: d1e865ee341ba37469efed8c935e22e2b483eec2
This commit is contained in:
Jordan Liggitt
2019-02-22 10:27:46 -05:00
committed by Kubernetes Publisher
parent d2861e956f
commit e6881e4a02
2 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ func TestFakeClient(t *testing.T) {
// Inject an event into the fake client.
p := &v1.Pod{ObjectMeta: metav1.ObjectMeta{Name: "my-pod"}}
_, err := client.Core().Pods("test-ns").Create(p)
_, err := client.CoreV1().Pods("test-ns").Create(p)
if err != nil {
t.Errorf("error injecting pod add: %v", err)
}