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

Use region in BSL for restic repo identifier #3857

Merged

Conversation

zubron
Copy link
Contributor

@zubron zubron commented Jun 9, 2021

Please add a summary of your change

This PR incorporates the changes made by @jala-dx in #3617. We were unable to push requested changes to that PR branch so the original commit and requested changes are included in this PR. The tests for this function have been refactored to use table-driven tests and a new test case for this fix has been added.

This change also updates the original changelog provided in that PR to match the new PR number and author.

Does your change fix a particular issue?

Fixes #3616

Please indicate you've done the following:

Signed-off-by: Jalaja Ganapathy <jalaja@replicated.com>

Signed-off-by: Jalaja <jalaja@replicated.com>
@github-actions github-actions bot requested review from carlisia and jenting June 9, 2021 20:00
@zubron zubron force-pushed the use-region-in-bsl-for-restic-repo-identifier branch from 996e083 to 6316f79 Compare June 9, 2021 20:00
@zubron zubron requested review from dsu-igeek and removed request for carlisia June 9, 2021 20:01
zubron added 2 commits June 9, 2021 16:40
Also refactor the AWS `getRepoPrefix` logic to remove use of `switch`
statement.

Signed-off-by: Bridget McErlean <bmcerlean@vmware.com>
Signed-off-by: Bridget McErlean <bmcerlean@vmware.com>
@zubron zubron force-pushed the use-region-in-bsl-for-restic-repo-identifier branch from 6316f79 to 1495d61 Compare June 9, 2021 20:49
Copy link
Contributor

@jenting jenting left a comment

Choose a reason for hiding this comment

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

Thank you.

@zubron zubron requested a review from sseago July 12, 2021 21:15
@sseago sseago merged commit ff916b7 into vmware-tanzu:main Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Region is calculated incorrectly when gov account is used.
4 participants