mirror of
https://github.com/minio/minio
synced 2024-10-14 20:04:32 +00:00
save correct bucketInfo on it's indexes (#16685)
This commit is contained in:
parent
6efe4d1df6
commit
663a0b7783
|
@ -158,7 +158,7 @@ func (sys *S3PeerSys) GetBucketInfo(ctx context.Context, bucket string, opts Buc
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
bucketInfos[idx] = bucketInfo
|
bucketInfos[idx+1] = bucketInfo
|
||||||
return nil
|
return nil
|
||||||
}, idx)
|
}, idx)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue