Skip to content

Commit

Permalink
Update juju/action.py
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Dyess <[email protected]>
  • Loading branch information
cderici and addyess committed Oct 21, 2022
1 parent c2280b4 commit 83519c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions juju/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ def status(self):

async def fetch_output(self):
completed_action = await self.model._get_completed_action(self.id)
self.results = {} if completed_action.output is None else \
completed_action.output
self.results = completed_action.output or {}
self._status = completed_action.status

async def wait(self):
Expand Down

0 comments on commit 83519c6

Please sign in to comment.