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

Properly handle the nil response on read in raft_snapshot_agent_config resource #1360

Merged
merged 3 commits into from
Feb 25, 2022

Conversation

benashz
Copy link
Contributor

@benashz benashz commented Feb 24, 2022

Ensure that a nil response on read for the raft_snapshot_agent_config
resources removes the resource from the state instead of panicking.

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Closes #1359

Release note for CHANGELOG:


Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

Ensure that a nil response on read for raft_snapshot_agent_config
removes the resource from the state.
@benashz benashz merged commit 58d06a5 into main Feb 25, 2022
@benashz benashz deleted the VAULT-5223/fix-panic-in-raft-snapshot-agent-config branch February 25, 2022 00:12
@benashz benashz added this to the 3.3.1 milestone Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unhandled exception in vault_raft_snapshot_agent_config on plan
2 participants