mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
allow ListObjects() when a prefix is an object (#17074)
This commit is contained in:
1 parent
dbd53af369
commit
b1f3935c5b
3 files changed
+5
-13
No files matched your search
@@ -1307,7 +1307,7 @@ func (z *erasureServerPools) ListObjects(ctx context.Context, bucket, prefix, ma
|
||||
}
|
||||
opts.setBucketMeta(ctx)
|
||||
|
||||
if len(prefix) > 0 && maxKeys == 1 && delimiter == "" && marker == "" {
|
||||
if len(prefix) > 0 && maxKeys == 1 && marker == "" {
|
||||
// Optimization for certain applications like
|
||||
// - Cohesity
|
||||
// - Actifio, Splunk etc.
|
||||
|
||||
Reference in new issue
Block a user