mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
Disable heal message printing, comment it out as todo.
This commit is contained in:
parent
dd74e5a809
commit
0e87f29de9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user