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:
@@ -121,7 +121,7 @@ func newAdminClient(aliasedURL string) (*madmin.AdminClient, *probe.Error) {
|
||||
}
|
||||
|
||||
if hostCfg == nil {
|
||||
return nil, probe.NewError(fmt.Errorf("The specified alias: %s not found", urlStrFull))
|
||||
return nil, probe.NewError(fmt.Errorf("No valid configuration found for '%s' host alias", urlStrFull))
|
||||
}
|
||||
|
||||
s3Config := newS3Config(urlStrFull, hostCfg)
|
||||
|
||||
Reference in New Issue
Block a user