Skip to content

Commit 1d53569

Browse files
pooknullhors
andauthored
K8SPS-381: improve restores for azure (#922)
https://perconadev.atlassian.net/browse/K8SPS-381 Co-authored-by: Viacheslav Sarzhan <slava.sarzhan@percona.com>
1 parent 3e02a39 commit 1d53569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/xtrabackup/storage/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ func (a *Azure) PutObject(ctx context.Context, name string, data io.Reader, _ in
250250
}
251251

252252
func (a *Azure) ListObjects(ctx context.Context, prefix string) ([]string, error) {
253-
listPrefix := path.Join(a.prefix, prefix) + "/"
253+
listPrefix := path.Join(a.prefix, prefix)
254254
pg := a.client.NewListBlobsFlatPager(a.container, &container.ListBlobsFlatOptions{
255255
Prefix: &listPrefix,
256256
})

0 commit comments

Comments
 (0)