Skip to content

Commit

Permalink
reverted debugging commits
Browse files Browse the repository at this point in the history
  • Loading branch information
rkthtrifork committed Jun 4, 2024
1 parent 02694ba commit bb1d5ac
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions opensearch-operator/pkg/reconcilers/ismpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"github.com/Opster/opensearch-k8s-operator/opensearch-operator/pkg/reconcilers/k8s"
"github.com/Opster/opensearch-k8s-operator/opensearch-operator/pkg/reconcilers/util"
"github.com/cisco-open/operator-tools/pkg/reconciler"
"github.com/davecgh/go-spew/spew"
"github.com/go-logr/logr"
"k8s.io/apimachinery/pkg/types"
"k8s.io/client-go/tools/record"
Expand Down Expand Up @@ -201,9 +200,7 @@ func (r *IsmPolicyReconciler) Reconcile() (retResult ctrl.Result, retErr error)
return
}

r.logger.Info("rkth policyId: " + policyId)
existingPolicy, retErr := services.GetPolicy(r.ctx, r.osClient, policyId)
r.logger.Info("rkth existingPolicy: " + spew.Sdump(*existingPolicy))
if retErr != nil && retErr != services.ErrNotFound {
reason = "failed to get policy from Opensearch API"
r.logger.Error(retErr, reason)
Expand Down

0 comments on commit bb1d5ac

Please sign in to comment.