Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command: fix missing output text for applyable refresh plans #31469

Merged
merged 1 commit into from Aug 9, 2022

Conversation

kmoe
Copy link
Member

@kmoe kmoe commented Jul 19, 2022

The branch on line 180 was unreachable because plan.CanApply() returns the same value every time.

We're quite deep in the plan renderer here and many of these code paths don't have tests within the Terraform repo. If we're not confident the fix restores the intended behaviour, I'm happy to have a go at filling these in (possibly using tfexec).

@kmoe kmoe requested a review from a team July 19, 2022 13:23
@kmoe kmoe added the 1.2-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Aug 9, 2022
@kmoe kmoe merged commit 621af43 into main Aug 9, 2022
@kmoe kmoe deleted the kmoe/plan-output-bugfix branch August 9, 2022 15:04
@github-actions
Copy link

github-actions bot commented Aug 9, 2022

Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch.

@github-actions
Copy link

github-actions bot commented Sep 9, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1.2-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants