mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Update DeleteOptions
This commit is contained in:
parent
772eacadc1
commit
dacd32887f
@ -256,7 +256,7 @@ var _ = SIGDescribe("ReplicationController", func() {
|
||||
|
||||
// Delete ReplicationController
|
||||
ginkgo.By("deleting ReplicationControllers by collection")
|
||||
err = f.ClientSet.CoreV1().ReplicationControllers(testRcNamespace).DeleteCollection(context.TODO(), &metav1.DeleteOptions{}, metav1.ListOptions{LabelSelector: "test-rc-static=true"})
|
||||
err = f.ClientSet.CoreV1().ReplicationControllers(testRcNamespace).DeleteCollection(context.TODO(), metav1.DeleteOptions{}, metav1.ListOptions{LabelSelector: "test-rc-static=true"})
|
||||
framework.ExpectNoError(err, "Failed to delete ReplicationControllers")
|
||||
|
||||
ginkgo.By("waiting for ReplicationController to have a DELETED watchEvent")
|
||||
|
Loading…
Reference in New Issue
Block a user