Skip to content
New issue

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

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

Already on GitHub? # to your account

Do not fail for iterations with scheduled revocation #11619

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

sylviamoss
Copy link
Contributor

The hcp_packer_x datasources were checking if an iteration had a revoke_at to tell if it's revoked or not. This was wrong because a revoke_at set to the future means that revocation is scheduled and the iteration is currently valid.
This PR fixes this behavior and only fails for revoked_at <= now

@sylviamoss sylviamoss requested a review from a team as a code owner March 2, 2022 14:23
Copy link
Contributor

@azr azr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

@sylviamoss sylviamoss merged commit 5135d68 into master Mar 2, 2022
@sylviamoss sylviamoss deleted the hcp_fix_check_for_revoked_iterations branch March 2, 2022 15:44
@github-actions
Copy link

github-actions bot commented Apr 2, 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 issues.
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 Apr 2, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants