From a737ed68e7a3699ebdabeb77d39ec28cdcf4c28f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 25 Oct 2016 09:34:33 +0000 Subject: [PATCH] fixed missing colon --- orchestra/contrib/resources/backends.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/orchestra/contrib/resources/backends.py b/orchestra/contrib/resources/backends.py index 68fe33bc..cb78b2b6 100644 --- a/orchestra/contrib/resources/backends.py +++ b/orchestra/contrib/resources/backends.py @@ -88,7 +88,8 @@ class ServiceMonitor(ServiceBackend): def execute(self, *args, **kwargs): log = super(ServiceMonitor, self).execute(*args, **kwargs) - self.store(log) + if log.state == BackendLog.SUCCESS: + self.store(log) return log @classmethod