Skip to content

Commit 17fa3ae

Browse files
mythisbueringer
andauthored
Update pkg/envtest/crd.go
Co-authored-by: Stefan Büringer <[email protected]>
1 parent 9eaa32b commit 17fa3ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/envtest/crd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func WaitForCRDs(config *rest.Config, crds []*apiextensionsv1.CustomResourceDefi
166166

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

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

0 commit comments

Comments
 (0)