Allow support proxy set|remove without registration (#4488)
This commit is contained in:
@@ -76,8 +76,6 @@ func mainSupportProxyRemove(ctx *cli.Context) error {
|
||||
// Get the alias parameter from cli
|
||||
args := ctx.Args()
|
||||
aliasedURL := args.Get(0)
|
||||
alias, _ := url2Alias(aliasedURL)
|
||||
validateClusterRegistered(alias, true)
|
||||
|
||||
// Create a new MinIO Admin Client
|
||||
client := getClient(aliasedURL)
|
||||
|
||||
@@ -79,8 +79,6 @@ func mainSupportProxySet(ctx *cli.Context) error {
|
||||
// Get the alias parameter from cli
|
||||
args := ctx.Args()
|
||||
aliasedURL := args.Get(0)
|
||||
alias, _ := url2Alias(aliasedURL)
|
||||
validateClusterRegistered(alias, true)
|
||||
|
||||
// Create a new MinIO Admin Client
|
||||
client := getClient(aliasedURL)
|
||||
|
||||
Reference in New Issue
Block a user