mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -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
@@ -161,7 +161,7 @@ func TestNewXL(t *testing.T) {
|
||||
t.Fatal("Unexpected error: ", err)
|
||||
}
|
||||
|
||||
err = waitForFormatDisks(true, endpoints[0], nil)
|
||||
err = waitForFormatDisks(true, endpoints, nil)
|
||||
if err != errInvalidArgument {
|
||||
t.Fatalf("Expecting error, got %s", err)
|
||||
}
|
||||
@@ -172,7 +172,7 @@ func TestNewXL(t *testing.T) {
|
||||
}
|
||||
|
||||
// Initializes all erasure disks
|
||||
err = waitForFormatDisks(true, endpoints[0], storageDisks)
|
||||
err = waitForFormatDisks(true, endpoints, storageDisks)
|
||||
if err != nil {
|
||||
t.Fatalf("Unable to format disks for erasure, %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user