Juju run-action should not accept parameters not defined in actions.yaml
Bug #1989984 reported by
Erik Lönroth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I have a charm that defines an action (add-peer) with parameters, defined as expected in actions.yaml
When I accidentally called my action with an undefined parameter, it was still passed to the charm code.
This caused issues, since I assumed juju validated that up before passing it to my action.
So, when I ran my code - I ended up with parameters which was undefined but found their way into my code here:
Should juju to accept un-named parameters when calling actions, or should I make this enforced somewhere in actions.yaml ?
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
milestone: | none → 3.1.0 |
milestone: | 3.1.0 → none |
To post a comment you must log in.