From 1054f9cbf0249365acfbad3c6239d6ada620cbae Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sun, 25 Jun 2017 18:38:55 -0700 Subject: [PATCH] fix: Remove adverb from erasure coded startup message. (#4594) --- cmd/server-startup-msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/server-startup-msg.go b/cmd/server-startup-msg.go index 7e1cc6934..96b60ae1c 100644 --- a/cmd/server-startup-msg.go +++ b/cmd/server-startup-msg.go @@ -174,7 +174,7 @@ func getStorageInfoMsg(storageInfo StorageInfo) string { if storageInfo.Backend.Type == Erasure { diskInfo := fmt.Sprintf(" %d Online, %d Offline. ", storageInfo.Backend.OnlineDisks, storageInfo.Backend.OfflineDisks) if maxDiskFailures := storageInfo.Backend.ReadQuorum - storageInfo.Backend.OfflineDisks; maxDiskFailures >= 0 { - diskInfo += fmt.Sprintf("We can withstand [%d] more drive failure(s).", maxDiskFailures) + diskInfo += fmt.Sprintf("We can withstand [%d] drive failure(s).", maxDiskFailures) } msg += colorBlue("\nStatus:") + fmt.Sprintf(getFormatStr(len(diskInfo), 8), diskInfo) }