We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 188b486 commit 8d9b8d5Copy full SHA for 8d9b8d5
pkg/envtest/komega/default.go
@@ -61,7 +61,7 @@ func Update(obj client.Object, f func(), opts ...client.UpdateOption) func() err
61
// UpdateStatus returns a function that fetches a resource, applies the provided update function and then updates the resource's status.
62
// It can be used with gomega.Eventually() like this:
63
// deployment := appsv1.Deployment{ ... }
64
-// gomega.Eventually(k.Update(&deployment, func (o client.Object) {
+// gomega.Eventually(k.UpdateStatus(&deployment, func (o client.Object) {
65
// deployment.Status.AvailableReplicas = 1
66
// return &deployment
67
// })).To(gomega.Scucceed())
0 commit comments