Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rkthtrifork committed Jun 14, 2024
1 parent e44f7ff commit 369b4e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opensearch-operator/pkg/reconcilers/ismpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ func (r *IsmPolicyReconciler) Reconcile() (retResult ctrl.Result, retErr error)
request := requests.ISMPolicy{
Policy: *newPolicy,
}
r.logger.Info("rkth ismpolicy policyId: " + policyId)
r.logger.Info("rkth ismpolicy existing policyId: " + existingPolicy.PolicyID)
err = services.UpdateISMPolicy(r.ctx, r.osClient, request, &existingPolicy.SequenceNumber, &existingPolicy.PrimaryTerm, existingPolicy.PolicyID)
if err != nil {
reason = "failed to update ism policy with Opensearch API"
Expand Down

0 comments on commit 369b4e7

Please sign in to comment.