-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: added missing environmentID flag #198
fix: added missing environmentID flag #198
Conversation
The flag had been implemented earlier here, just the flag parser was missing, I have added that. |
@kartikaysaxena can you please update the flag to environment-id, since this is the casing that we are following. Also please update the example command in connect/connect.go by adding the environment-id flag. |
Sure will do it. |
Signed-off-by: Kartikay <[email protected]>
9dffc18
to
9bf0d4e
Compare
pkg/cmd/connect/connect.go
Outdated
@@ -25,10 +25,10 @@ var ConnectCmd = &cobra.Command{ | |||
Short: `Connect resources for LitmusChaos Execution plane. | |||
Examples: | |||
#connect a Chaos Infrastructure | |||
litmusctl connect chaos-infra --name="new-chaos-infra" --non-interactive | |||
litmusctl connect chaos-infra --name="new-chaos-infra" --non-interactive --environment-id="my-environment-id" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to add incase of interactive mode, user will see a prompt to enter the environment-id incase of interactive mode
Signed-off-by: Kartikay <[email protected]>
…a/litmusctl into environmentID-flag
Should fix #197