Skip to content
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

Merged
merged 2 commits into from
Jun 17, 2020

Conversation

jsteenb2
Copy link
Contributor

@jsteenb2 jsteenb2 commented Jun 17, 2020

Closes #18548

@jsteenb2 jsteenb2 changed the title 18548/influx update stack cmd feat(influx): extend influx stacks cmd with update Jun 17, 2020
@jsteenb2 jsteenb2 force-pushed the 18548/influx_update_stack_cmd branch from 3af9503 to 1a56ed3 Compare June 17, 2020 18:59
Copy link
Contributor

@sanderson sanderson left a 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 := 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.
Copy link
Contributor

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.

Comment on lines 836 to 840
# 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
Copy link
Contributor

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.

Copy link
Contributor Author

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 🤦

@jsteenb2 jsteenb2 force-pushed the 18548/influx_update_stack_cmd branch from 1a56ed3 to 1b464f0 Compare June 17, 2020 19:34
Copy link
Contributor

@sanderson sanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@jsteenb2 jsteenb2 force-pushed the 18548/influx_update_stack_cmd branch from 1b464f0 to 9ee415f Compare June 17, 2020 19:53
@jsteenb2 jsteenb2 merged commit aa1e29f into master Jun 17, 2020
@jsteenb2 jsteenb2 deleted the 18548/influx_update_stack_cmd branch June 17, 2020 21:46
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.

Add the ability to update stack metadata
3 participants