Add enum type to config options
Bug #2043072 reported by
Leon
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Actions already support enum params.
It would be super handy to have enum types for config options.
This would solve an entire category of problems around model departure and status setting.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
To post a comment you must log in.
We have the same request here. We have to add a complex logic to charm.py to protect upgrade using the wrong config value. Having enum check on Juju level will simplify SQL charms a lot (upgrade related code).