Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rkthtrifork committed Jun 17, 2024
1 parent e0bd858 commit 69ee85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opensearch-operator/pkg/reconcilers/ismpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func (r *IsmPolicyReconciler) Reconcile() (retResult ctrl.Result, retErr error)

// If the ISM policy exists in OpenSearch cluster and we have not reconciled it before then we should not overwrite the existing policy
if r.instance.Status.ExistingISMPolicy == nil || *r.instance.Status.ExistingISMPolicy {
*r.instance.Status.ExistingISMPolicy = true
r.instance.Status.ExistingISMPolicy = pointer.Bool(true)
reason = opensearchIsmPolicyExists
r.logger.Error(errors.New("ISM Policy already exists in Opensearch"), reason)
return ctrl.Result{
Expand Down

0 comments on commit 69ee85b

Please sign in to comment.