mirror of
https://github.com/minio/mc.git
synced 2025-07-28 20:01:58 +03:00
Move from mc config host to alias command (#3311)
``` mc alias set alias remove alias list ``` are new commands that replace mc config host sub-commands. mc config host will still be available but hidden for backward compatiblity. The JSON output is also kept if the user is running mc config host command.
This commit is contained in:
@ -48,7 +48,7 @@ var errUnrecognizedDiffType = func(diff differType) *probe.Error {
|
||||
type invalidAliasedURLErr error
|
||||
|
||||
var errInvalidAliasedURL = func(URL string) *probe.Error {
|
||||
msg := "Use `mc config host add mycloud " + URL + " ...` to add an alias. Use the alias for S3 operations."
|
||||
msg := "Use `mc alias set mycloud " + URL + " ...` to add an alias. Use the alias for S3 operations."
|
||||
return probe.NewError(invalidAliasedURLErr(errors.New(msg))).Untrace()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user