Running juju action with specific values gives ERROR
Bug #1880846 reported by
Erik Lönroth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
I have a juju action which a paramter of "string" type. This is all defined in metadata.yaml.
I expect the string to be either "on" or "off".
When trying to run the action, this happens:
$ juju run-action nextcloud/0 maintenance mod=“on” --wait
ERROR validation failed: (root).mod : must be of type string, given true
I expect alot better information that my arguments have illegal values or even better, allowing for string paramaters to be of any value.
There is a discussion on discourse that describes this situation even more: https:/
tags: | added: config |
Changed in juju: | |
assignee: | Yang Kelvin Liu (kelvin.liu) → nobody |
status: | In Progress → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
Also, changing the value to, lets say "foobar" removes the error, but I would like the value to be "on".