Skip to content

Conversation

@nmaludy
Copy link
Member

@nmaludy nmaludy commented Jan 23, 2019

Closes #4511

This removes the redundant pack install {{ packs }} action-alias and instead replaces it with a single pattern.

After this fix, it is now possible to run the following:

$ st2 action-alias match 'pack install vsphere'
$ st2 action-alias execute -u st2admin 'pack install vsphere'

Also fixed the help text on st2 action-alias match to not imply that a list of matches is returned when in fact only a single match is returned.

@Kami
Copy link
Member

Kami commented Jan 23, 2019

Good catch 👍

This indeed looks like a "bug" (conflicting alias defined) in the action alias file.

@Kami Kami added this to the 3.0.0 milestone Jan 23, 2019
@Kami Kami added the chatops label Jan 23, 2019
@Kami Kami modified the milestones: 3.0.0, 2.10.2 Jan 24, 2019
@Kami Kami merged commit ba566f0 into StackStorm:master Jan 25, 2019
@Kami
Copy link
Member

Kami commented Jan 25, 2019

Merged, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Matching action alias for 'pack install xxx' returns an error

2 participants