Skip to content

deployment create: Remove region value on non-ESS - #326

Merged
marclop merged 1 commit into
elastic:masterfrom
marclop:f/change-default-ece-region-assignment-in-create
Jun 26, 2020
Merged

marclop merged 1 commit into
elastic:masterfrom
marclop:f/change-default-ece-region-assignment-in-create

Conversation

@marclop

@marclop marclop commented Jun 24, 2020

Copy link
Copy Markdown
Collaborator

Description

Removes the default "ece-region" assignment on the deployment create cmd
layer when the region is empty and the endpoint is not targetting ESS.

It only affects a flag-based creation and not the payload.

The assignment is already taken care of here: https://github.com/elastic/ecctl/blob/master/cmd/root.go#L187-L189

Removes the default "ece-region" assignment on the deployment create cmd
layer when the region is empty and the endpoint is not targetting ESS.

It only affects a flag-based creation and not the payload.

Signed-off-by: Marc Lopez <marc5.12@outlook.com>
@marclop
marclop requested a review from a team as a code owner June 24, 2020 07:44
@marclop marclop self-assigned this Jun 24, 2020
@marclop
marclop merged commit cbf843f into elastic:master Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants