From 34c4454c8d6fbc83e83319e685790559432e4c54 Mon Sep 17 00:00:00 2001 From: velandy Date: Tue, 21 Mar 2017 20:26:42 +0000 Subject: [PATCH] Change tag based on job status Signed-off-by: velandy --- common/python/rift/mano/config_agent/operdata.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- 2.25.1