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 e229de0 commit a9a065b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions opensearch-operator/pkg/reconcilers/ismpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,14 @@ func (r *IsmPolicyReconciler) Reconcile() (retResult ctrl.Result, retErr error)
// Return if there are no changes
if r.instance.Spec.PolicyID == existingPolicy.PolicyID && cmp.Equal(newPolicy, existingPolicy.Policy, cmpopts.EquateEmpty()) {
r.logger.Info("rkth they are equal")
r.logger.Info("rkth r.instance.Spec.PolicyID: " + r.instance.Spec.PolicyID)
r.logger.Info("rkth existingPolicy.PolicyID: " + existingPolicy.PolicyID)
r.logger.Info("rkth newPolicy: " + spew.Sdump(newPolicy))
r.logger.Info("rkth existingPolicy.Policy: " + spew.Sdump(existingPolicy.Policy))
reason = opensearchIsmPolicyExists
return
}
r.logger.Info("rkth they are not equal")
r.logger.Info("rkth r.instance.Spec.PolicyID: " + r.instance.Spec.PolicyID)
r.logger.Info("rkth existingPolicy.PolicyID: " + existingPolicy.PolicyID)
r.logger.Info("rkth newPolicy: " + spew.Sdump(newPolicy))
r.logger.Info("rkth existingPolicy.Policy: " + spew.Sdump(existingPolicy.Policy))

request := requests.ISMPolicy{
Policy: *newPolicy,
Expand Down

0 comments on commit a9a065b

Please sign in to comment.