From: velandy Date: Tue, 21 Mar 2017 20:26:42 +0000 (+0000) Subject: Change tag based on job status X-Git-Tag: v2.0.0~28^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=3e1eaf91247f9deb3b042296295c629907987e48;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: