mirror of
https://github.com/minio/mc.git
synced 2025-11-28 08:03:56 +03:00
when --no-list is specified avoid every List() call (#5082)
This commit is contained in:
@@ -212,6 +212,7 @@ func url2Stat(ctx context.Context, opts url2StatOptions) (client Client, content
|
||||
versionID: opts.versionID,
|
||||
isZip: opts.isZip,
|
||||
ignoreBucketExists: opts.ignoreBucketExistsCheck,
|
||||
headOnly: opts.headOnly,
|
||||
})
|
||||
if err != nil {
|
||||
return nil, nil, err.Trace(opts.urlStr)
|
||||
|
||||
Reference in New Issue
Block a user