Skip to content

Commit

Permalink
fix:
Browse files Browse the repository at this point in the history
Signed-off-by: saumeya <[email protected]>
  • Loading branch information
saumeya committed Aug 28, 2024
1 parent 4e58f62 commit 0b17b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/gitopsservice_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func (r *ReconcileGitopsService) Reconcile(ctx context.Context, request reconcil
return reconcile.Result{}, err
}
} else {
needUpdate, updateNameSpace := ensurePodSecurityLabels(argocdNS)
needUpdate, updateNameSpace := ensurePodSecurityLabels(namespaceRef)
if needUpdate {
err = r.Client.Update(context.TODO(), updateNameSpace)
if err != nil {
Expand Down

0 comments on commit 0b17b20

Please sign in to comment.