mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-14 19:19:48 +00:00
use core client with explicit version
fix more usage of deprecated core client
This commit is contained in:
@@ -210,7 +210,7 @@ func (d *deploymentTester) waitForDeploymentRevisionAndImage(revision, image str
|
||||
|
||||
func markPodReady(c clientset.Interface, ns string, pod *v1.Pod) error {
|
||||
addPodConditionReady(pod, metav1.Now())
|
||||
_, err := c.Core().Pods(ns).UpdateStatus(pod)
|
||||
_, err := c.CoreV1().Pods(ns).UpdateStatus(pod)
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user