From: velandy Date: Tue, 21 Mar 2017 20:26:42 +0000 (+0000) Subject: Change tag based on job status X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F1342%2F1;p=osm%2FSO.git Change tag based on job status Signed-off-by: velandy --- diff --git a/common/python/rift/mano/config_agent/operdata.py b/common/python/rift/mano/config_agent/operdata.py index 729a1f1c..fbf3c43a 100644 --- a/common/python/rift/mano/config_agent/operdata.py +++ b/common/python/rift/mano/config_agent/operdata.py @@ -432,7 +432,10 @@ class ConfigAgentJobMonitor(object): format(process, rc, err)) if len(err): - errs += "{}".format(err) + if rc == 0: + errs += "{}".format(err) + else: + errs += "{}".format(err) result |= rc if result == 0: