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

remove extra slash in snapshot bucket path #4590

Merged

Conversation

cbodonnell
Copy link
Member

@cbodonnell cbodonnell commented May 1, 2024

What this PR does / why we need it:

This PR addresses an issue where the dashboard snapshot card would show an extra slash if the user entered a bucket prefix with a leading slash in the snapshot settings. This changes the logic to handle cases with and without a leading slash in the bucket path.

Before:

Screenshot 2024-05-01 at 5 43 41 PM

After:

Screenshot 2024-05-01 at 7 28 31 PM

Which issue(s) this PR fixes:

Fixes https://app.shortcut.com/replicated/story/104151/remove-extra-slash-from-the-bucket-on-the-dr-card-on-the-dashboard

Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

Fixes an issue where the snapshot settings card on the admin console dashboard contained an extra slash in the object store bucket path

Does this PR require documentation?

@cbodonnell cbodonnell added type::bug Something isn't working bug::normal labels May 1, 2024
@cbodonnell cbodonnell merged commit 27413c2 into main May 2, 2024
105 checks passed
@cbodonnell cbodonnell deleted the cbo/sc-104151/remove-extra-slash-from-the-bucket-on-the branch May 2, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug::normal type::bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants