Open juanwolf opened 6 years ago
What does the config look like?
Sorry forgot that important part, here's the config:
hosts:
- myhost1.com
- myhost2.com
- myhost3.com
To add even more details, this file has been created running:
st2 pack config mypack
and I used a string like myhost1.com,myhost2.com,myhost3.com
to generate this array.
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.
Hi,
I created a pack where actions load their default value from the configuration file. It was working fine executing the action with the
st2
cli but not when using chatops aliases for the actions. Suddenly the "arrays" of my configuration were not parsed as such.Here's the config schema:
Here's my action definition:
The alias:
And the chatops result:
Am I doing something wrong here?