mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
do not list buckets without local quorum (#20852)
ListBuckets() would result in listing buckets without quorum, this PR fixes the behavior.
This commit is contained in:
@@ -101,8 +101,6 @@ type VolsInfo []VolInfo
|
||||
// VolInfo - represents volume stat information.
|
||||
// The above means that any added/deleted fields are incompatible.
|
||||
//
|
||||
// The above means that any added/deleted fields are incompatible.
|
||||
//
|
||||
//msgp:tuple VolInfo
|
||||
type VolInfo struct {
|
||||
// Name of the volume.
|
||||
@@ -110,6 +108,9 @@ type VolInfo struct {
|
||||
|
||||
// Date and time when the volume was created.
|
||||
Created time.Time
|
||||
|
||||
// total VolInfo counts
|
||||
count int
|
||||
}
|
||||
|
||||
// FilesInfo represent a list of files, additionally
|
||||
|
||||
Reference in New Issue
Block a user