hook_name() returns wrong result in actions

Bug #1577677 reported by Stuart Bishop
6
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['JUJU_ACTION_NAME'] is set.

Stuart Bishop (stub)
Changed in charm-helpers:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.