projects
/
osm
/
N2VC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b3c96e
)
Fixed status to check for for failed messages in unit.run
author
Pete Vander Giessen
<petevg@gmail.com>
Fri, 4 Nov 2016 15:04:23 +0000
(11:04 -0400)
committer
Pete Vander Giessen
<petevg@gmail.com>
Fri, 4 Nov 2016 15:04:23 +0000
(11:04 -0400)
error -> failed
juju/model.py
patch
|
blob
|
history
diff --git
a/juju/model.py
b/juju/model.py
index
d63f6d0
..
953aa8f
100644
(file)
--- a/
juju/model.py
+++ b/
juju/model.py
@@
-578,7
+578,7
@@
class Model(object):
action_id = action_id[7:]
def predicate(delta):
- return delta.data['status'] in ('completed', '
error
')
+ return delta.data['status'] in ('completed', '
failed
')
return await self._wait('action', action_id, 'change', predicate)