mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 05:30:24 +03:00
Use endpoint url when printing disks status in distributed mode (#3151)
This commit is contained in:
committed by
Harshavardhana
parent
226a69fe15
commit
79601d27f2
@@ -1560,7 +1560,7 @@ func initObjectLayer(endpoints, ignoredEndpoints []*url.URL) (ObjectLayer, []Sto
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
err = waitForFormatDisks(true, endpoints[0], storageDisks)
|
||||
err = waitForFormatDisks(true, endpoints, storageDisks)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user