Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
rphillips committed Apr 5, 2024
1 parent 3f73cc4 commit 8510c58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/monitortests/node/kubeletselinuxlabels/monitortest.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ func (lw *selinuxLabelWatcher) StartCollection(ctx context.Context, adminRESTCon
lw.namespaceName = actualNamespace.Name

// wait for pull secret to show up
oc := exutil.NewCLIWithoutNamespace("operators")
if err := wait.PollUntilContextTimeout(ctx, 10*time.Second, 400*time.Second, true, func(ctx context.Context) (bool, error) {
_, err := oc.KubeFramework().ClientSet.CoreV1().Secrets("openshift-config").Get(context.Background(), "pull-secret", metav1.GetOptions{})
_, err := kubeClient.CoreV1().Secrets("openshift-config").Get(context.Background(), "pull-secret", metav1.GetOptions{})
if err != nil {
return false, err
}
Expand Down

0 comments on commit 8510c58

Please sign in to comment.