commit | c368d4ab63ec8b69175e329959daa0e69def3da3 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Tue Jun 09 14:14:12 2015 -0400 |
committer | Sapan Bhatia <gwsapan@gmail.com> | Tue Jun 09 14:14:12 2015 -0400 |
tree | 73a72b56324282b4eded93a1b7b9d1f4053bea97 | |
parent | dcf47e6485138baf91b2dc5db8fe432aa3da1325 [diff] |
Fixes the accumulating - 2 in backend_status. Resolves #91.
diff --git a/xos/openstack_observer/syncstep.py b/xos/openstack_observer/syncstep.py index fb06bdd..3dadbf4 100644 --- a/xos/openstack_observer/syncstep.py +++ b/xos/openstack_observer/syncstep.py
@@ -150,7 +150,7 @@ try: error = self.error_map.map(str_e) except: - error = '2 - %s'%str_e + error = '%s'%str_e if isinstance(e, InnocuousException) and not force_error: o.backend_status = '1 - %s'%error