summaryrefslogtreecommitdiff
diff options
authorFelipe Reyes <felipe.reyes@canonical.com>2018-05-18 13:26:20 +0000
committerFelipe Reyes <felipe.reyes@canonical.com>2018-05-18 13:26:20 +0000
commit669bf1971e494548bdb5d4dd9eba4f1d00962424 (patch)
tree4ee13bba24b801ef91a0c3adbc8b9f50560a1669
parent96f2532cb199072610d095047e9fe319f95e9307 (diff)
Set workload status before returning in update_status()
-rwxr-xr-xhooks/hooks.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hooks/hooks.py b/hooks/hooks.py
index b13354a..9111a9a 100755
--- a/hooks/hooks.py
+++ b/hooks/hooks.py
@@ -1517,6 +1517,7 @@ def update_status():
juju_log(' $ status:' + status, 'DEBUG')
juju_log(' $ workload: ' + workload, 'DEBUG')
+ status_set(workload, status)
return workload