Use endpoint url when printing disks status in distributed mode (#3151)

This commit is contained in:
Anis Elleuch
2016-11-02 16:51:06 +01:00
committed by Harshavardhana
parent 226a69fe15
commit 79601d27f2
7 changed files with 46 additions and 53 deletions

View File

@@ -474,7 +474,7 @@ func serverMain(c *cli.Context) {
}(tls)
// Wait for formatting of disks.
err = waitForFormatDisks(firstDisk, endpoints[0], storageDisks)
err = waitForFormatDisks(firstDisk, endpoints, storageDisks)
fatalIf(err, "formatting storage disks failed")
// Once formatted, initialize object layer.