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

Persist snapshot source in the read response #788

Merged
merged 3 commits into from
Mar 11, 2024

Conversation

tobio
Copy link
Member

@tobio tobio commented Feb 27, 2024

Description

Since the snapshot_name is computed we must persist it in the response from read. This PR ensures that any configured value is maintained through the read cycle.

Related Issues

Fixes #787

How Has This Been Tested?

Manually

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improves code quality but has no user-facing effect)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation

Readiness Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

@tobio tobio requested a review from dimuon February 27, 2024 16:18
@tobio tobio self-assigned this Feb 27, 2024
@tobio tobio requested a review from a team as a code owner February 27, 2024 16:18
@tobio
Copy link
Member Author

tobio commented Feb 27, 2024

Will look at adding some unit tests here too

Copy link
Contributor

@dimuon dimuon left a comment

Choose a reason for hiding this comment

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

LGTM

@dimuon
Copy link
Contributor

dimuon commented Mar 4, 2024

Acceptance tests failed due to the flaky test with Integration server endpoints.

@tobio tobio merged commit cc5eba7 into elastic:master Mar 11, 2024
2 of 3 checks passed
@tobio tobio deleted the persist-snapshot-source-name branch March 11, 2024 05:35
tobio added a commit to tobio/terraform-provider-ec that referenced this pull request Mar 11, 2024
…ployment-id-with-self

* upstream/master:
  Persist snapshot source in the read response (elastic#788)
  Stateless resources require kibana (elastic#792)
  Fixed error when universal profiling is activated (elastic#783)
  fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.6.0 (elastic#790)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to create a deployment from a snapshot
2 participants