From 0e87f29de9a022d3618e2e84e54c34e2338b4b6a Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 23 Nov 2016 17:53:31 -0800 Subject: [PATCH] Disable heal message printing, comment it out as todo. --- cmd/prepare-storage-msg.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cmd/prepare-storage-msg.go b/cmd/prepare-storage-msg.go index e3bd03236..ab1ee1b4f 100644 --- a/cmd/prepare-storage-msg.go +++ b/cmd/prepare-storage-msg.go @@ -97,12 +97,13 @@ func getHealEndpoint(tls bool, firstEndpoint *url.URL) (cEndpoint *url.URL) { // 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. Please run the following command:") - msg += "MINIO_ACCESS_KEY=%s " - msg += "MINIO_SECRET_KEY=%s " - msg += "minio control heal %s" - creds := serverConfig.GetCredential() - msg = fmt.Sprintf(msg, creds.AccessKeyID, creds.SecretAccessKey, getHealEndpoint(isSSL(), endpoints[0])) + msg := fmt.Sprintln("\nData volume requires HEALING. Healing is not implemented yet stay tuned:") + // FIXME: Enable this after we bring in healing. + // msg += "MINIO_ACCESS_KEY=%s " + // msg += "MINIO_SECRET_KEY=%s " + // msg += "minio control heal %s" + // creds := serverConfig.GetCredential() + // msg = fmt.Sprintf(msg, creds.AccessKeyID, creds.SecretAccessKey, getHealEndpoint(isSSL(), endpoints[0])) disksInfo, _, _ := getDisksInfo(storageDisks) for i, info := range disksInfo { if storageDisks[i] == nil {