hook_name() returns wrong result in actions
Bug #1577677 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Triaged
|
Undecided
|
Unassigned |
Bug Description
When run by an action, hookenv.hook_name() usually returns the action name due to fallback behaviour in the implementation.
It should instead return None when os.environ[
Changed in charm-helpers: | |
status: | New → Triaged |
To post a comment you must log in.