mirror of
https://github.com/minio/minio.git
synced 2025-11-29 05:19:03 -05:00
Use endpoint url when printing disks status in distributed mode (#3151)
This commit is contained in:
committed by
Harshavardhana
parent
226a69fe15
commit
79601d27f2
@@ -61,7 +61,7 @@ func TestNewFS(t *testing.T) {
|
||||
}
|
||||
|
||||
// Initializes all disks with XL
|
||||
err = waitForFormatDisks(true, endpoints[0], xlStorageDisks)
|
||||
err = waitForFormatDisks(true, endpoints, xlStorageDisks)
|
||||
if err != nil {
|
||||
t.Fatalf("Unable to format XL %s", err)
|
||||
}
|
||||
@@ -79,7 +79,7 @@ func TestNewFS(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, testCase := range testCases {
|
||||
if err = waitForFormatDisks(true, endpoints[0], []StorageAPI{testCase.disk}); err != testCase.expectedErr {
|
||||
if err = waitForFormatDisks(true, endpoints, []StorageAPI{testCase.disk}); err != testCase.expectedErr {
|
||||
t.Errorf("expected: %s, got :%s", testCase.expectedErr, err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user