-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
feat(influx): extend influx stacks cmd with update #18573
Conversation
3af9503
to
1a56ed3
Compare
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.
Just some minor changes.
cmd/influx/pkg.go
Outdated
cmd := b.newCmdStackList("stacks") | ||
cmd.Short = "List stack(s) and associated templates. Sub commands are useful for managing stacks." | ||
cmd.Long = ` | ||
List stack(s) and associated templates. Sub commands are useful for managing stacks. |
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.
Sub commands are useful for managing stacks. -> Subcommands manage stacks.
cmd/influx/pkg.go
Outdated
# Initialize a stack with a name and description | ||
influx stack update -n $STACK_NAME -d $STACK_DESCRIPTION | ||
|
||
# Initialize a stack with a name and urls to associate with stack. | ||
influx stack update -n $STACK_NAME -u $PATH_TO_TEMPLATE |
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.
Do these initialize stacks or just update existing stacks? These should also include a stack ID since it's a required parameter.
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.
ahhh good point, totally forgot that 🤦
1a56ed3
to
1b464f0
Compare
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.
Looks great!
1b464f0
to
9ee415f
Compare
Closes #18548