Skip to content

Commit 83519c6

Browse files
cdericiAdam Dyess
andcommitted
Update juju/action.py
Co-authored-by: Adam Dyess <adam.dyess@canonical.com>
1 parent c2280b4 commit 83519c6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

juju/action.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ def status(self):
1414

1515
async def fetch_output(self):
1616
completed_action = await self.model._get_completed_action(self.id)
17-
self.results = {} if completed_action.output is None else \
18-
completed_action.output
17+
self.results = completed_action.output or {}
1918
self._status = completed_action.status
2019

2120
async def wait(self):

0 commit comments

Comments
 (0)