提交 b7c5e8c9 编写于 作者: A Amador Pahim

resultsdb: print IU message only when using default TUI

The message is being printed even woth different result formats (json,
tap, ...). This patch makes it to be printed only when using default
TUI.
Signed-off-by: NAmador Pahim <apahim@redhat.com>
上级 645457df
......@@ -160,7 +160,8 @@ class ResultsdbResult(Result):
description = 'Resultsdb result support'
def render(self, result, job):
if getattr(job.args, 'resultsdb_logs', None) is not None:
if (getattr(job.args, 'resultsdb_logs', None) is not None and
getattr(job.args, 'stdout_claimed_by', None) is None):
LOG_UI.info("JOB URL : %s/%s" % (job.args.resultsdb_logs,
os.path.basename(job.logdir)))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册