Skip to content

Commit

Permalink
Update pkg/envtest/crd.go
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Büringer <4662360+sbueringer@users.noreply.github.com>
  • Loading branch information
mythi and sbueringer committed Apr 27, 2023
1 parent 9eaa32b commit 17fa3ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/envtest/crd.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func WaitForCRDs(config *rest.Config, crds []*apiextensionsv1.CustomResourceDefi

// Poll until all resources are found in discovery
p := &poller{config: config, waitingFor: waitingFor}
return wait.PollUntilContextTimeout(context.Background(), options.PollInterval, options.MaxTime, true, p.poll)
return wait.PollUntilContextTimeout(context.TODO(), options.PollInterval, options.MaxTime, true, p.poll)
}

// poller checks if all the resources have been found in discovery, and returns false if not.
Expand Down

0 comments on commit 17fa3ae

Please sign in to comment.