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

GITHUB-ISSUE-1812: Fix azure storage restore by removing hardcoded trailing slash #1813

Merged
2 changes: 1 addition & 1 deletion pkg/pxc/backup/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func (a *Azure) PutObject(ctx context.Context, name string, data io.Reader, _ in
}

func (a *Azure) ListObjects(ctx context.Context, prefix string) ([]string, error) {
listPrefix := path.Join(a.prefix, prefix) + "/"
listPrefix := path.Join(a.prefix, prefix)
pg := a.client.NewListBlobsFlatPager(a.container, &container.ListBlobsFlatOptions{
Prefix: &listPrefix,
})
Expand Down
Loading