Skip to content

Commit

Permalink
fix missing output for applyable refresh plans
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoe committed Jul 19, 2022
1 parent 7b4a551 commit 20dc15c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/command/views/plan.go
Expand Up @@ -176,7 +176,7 @@ func renderPlan(plan *plans.Plan, schemas *terraform.Schemas, view *View) {
view.colorize.Color("\n[reset][bold][green]No changes.[reset][bold] Your infrastructure matches the configuration.[reset]\n\n"),
)

if haveRefreshChanges && !plan.CanApply() {
if haveRefreshChanges {
if plan.CanApply() {
// In this case, applying this plan will not change any
// remote objects but _will_ update the state to match what
Expand Down

0 comments on commit 20dc15c

Please sign in to comment.