From 4041e5f20da099cdc03f0d7b3dd7bc82477c2d76 Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Tue, 4 Apr 2017 02:54:25 +0530 Subject: [PATCH] Provide mc-admin-heal command on start-up (#4031) Healing of buckets, objects and incomplete uploads are implemented and available via admin REST APIs. Additionally, it is available via mc admin sub-command. The warning is no longer relevant. Fixes #4030 --- cmd/prepare-storage-msg.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/prepare-storage-msg.go b/cmd/prepare-storage-msg.go index 58e4d70e1..15114a5b6 100644 --- a/cmd/prepare-storage-msg.go +++ b/cmd/prepare-storage-msg.go @@ -101,9 +101,9 @@ const ( // healing is optional, server continues to initialize object layer after printing this message. // it is upto the end user to perform a heal if needed. func getHealMsg(endpoints []*url.URL, storageDisks []StorageAPI) string { - msg := fmt.Sprintln("\nData volume requires HEALING. Healing is not implemented yet stay tuned:") - // FIXME: Enable this after we bring in healing. - // msg := "mc admin heal myminio" + healFmtCmd := `"mc admin heal myminio"` + msg := fmt.Sprintf("New disk(s) were found, format them by running - %s\n", + healFmtCmd) disksInfo, _, _ := getDisksInfo(storageDisks) for i, info := range disksInfo { if storageDisks[i] == nil {