Re-add Veeam Listing workaround (#16593)

This commit is contained in:
Klaus Post authored and GitHub committed 2023-02-10 10:48:39 -08:00
1 parent d65debb6bc
commit d0f4cc89a5
3 files changed
+16 -1

No files matched your search

+3 -1
View File
@@ -96,7 +96,9 @@ func (z *erasureServerPools) listPath(ctx context.Context, o *listPathOptions) (
// Decode and get the optional list id from the marker.
o.parseMarker()
o.BaseDir = baseDirFromPrefix(o.Prefix)
if o.BaseDir == "" {
o.BaseDir = baseDirFromPrefix(o.Prefix)
}
o.Transient = o.Transient || isReservedOrInvalidBucket(o.Bucket, false)
o.SetFilter()
if o.Transient {