Sets JUJU_ACTION_UUID when handling an action event, so that ops sets ActionEvent.id appropriately. The ID is loaded from state.next_action_id and set on the state.Action object, similarly to relations.
Also stops setting JUJU_ACTION_NAME outside of action events - mostly to simplify the code addition, but in my quick checks this is the case in Juju as well.
Sets
JUJU_ACTION_UUID
when handling an action event, so thatops
setsActionEvent.id
appropriately. The ID is loaded fromstate.next_action_id
and set on thestate.Action
object, similarly to relations.Also stops setting
JUJU_ACTION_NAME
outside of action events - mostly to simplify the code addition, but in my quick checks this is the case in Juju as well.Fixes #101