mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05: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:
@@ -759,7 +759,7 @@ func TestXLStorageListVols(t *testing.T) {
|
||||
if volInfos, err = xlStorage.ListVols(context.Background()); err != nil {
|
||||
t.Fatalf("expected: <nil>, got: %s", err)
|
||||
} else if len(volInfos) != 1 {
|
||||
t.Fatalf("expected: one entry, got: %s", volInfos)
|
||||
t.Fatalf("expected: one entry, got: %v", volInfos)
|
||||
}
|
||||
|
||||
// TestXLStorage non-empty list vols.
|
||||
|
||||
Reference in New Issue
Block a user