Skip to content

Commit 0b17b20

Browse files
committed
fix:
Signed-off-by: saumeya <[email protected]>
1 parent 4e58f62 commit 0b17b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/gitopsservice_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ func (r *ReconcileGitopsService) Reconcile(ctx context.Context, request reconcil
231231
return reconcile.Result{}, err
232232
}
233233
} else {
234-
needUpdate, updateNameSpace := ensurePodSecurityLabels(argocdNS)
234+
needUpdate, updateNameSpace := ensurePodSecurityLabels(namespaceRef)
235235
if needUpdate {
236236
err = r.Client.Update(context.TODO(), updateNameSpace)
237237
if err != nil {

0 commit comments

Comments
 (0)