mirror of
https://github.com/minio/mc.git
synced 2025-11-10 13:42:32 +03:00
Fix error message wording in mc admin commands (#2887)
This commit is contained in:
@@ -110,7 +110,7 @@ func mainAdminServiceRestart(ctx *cli.Context) error {
|
||||
aliasedURL := args.Get(0)
|
||||
|
||||
client, err := newAdminClient(aliasedURL)
|
||||
fatalIf(err, "Cannot get a configured admin connection.")
|
||||
fatalIf(err, "Unable to initialize admin connection.")
|
||||
|
||||
// Restart the specified MinIO server
|
||||
fatalIf(probe.NewError(client.ServiceRestart()), "Cannot restart the server.")
|
||||
|
||||
Reference in New Issue
Block a user