Skip to content

Commit

Permalink
chore: compare strategy to auto apply instead of dry
Browse files Browse the repository at this point in the history
  • Loading branch information
spoukke committed Feb 10, 2023
1 parent 4ca3293 commit 5923a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controllers/terraformlayer/states.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (s *ApplyNeededState) getHandler() func(ctx context.Context, t *Reconciler,
return ctrl.Result{}
}
remediationStrategy := getRemediationStrategy(repository, r)
if remediationStrategy == configv1alpha1.DryRemediationStrategy {
if remediationStrategy != configv1alpha1.AutoApplyRemediationStrategy {
log.Info("layer is in dry mode, no action taken")
return ctrl.Result{RequeueAfter: deltaDriftDetection}
}
Expand Down

0 comments on commit 5923a32

Please sign in to comment.