cli: show log urls for failed tasks

Fixes: https://pagure.io/koji/issue/2188
This commit is contained in:
Tomas Kopecek 2020-09-22 09:45:15 +02:00 committed by Mike McLean
parent 30e87348b8
commit bc478c2d68
17 changed files with 86 additions and 59 deletions

View file

@ -87,7 +87,7 @@ def handle_runroot(options, session, args):
if opts.watch:
session.logout()
return watch_tasks(session, [task_id], quiet=opts.quiet,
poll_interval=options.poll_interval)
poll_interval=options.poll_interval, topurl=options.topurl)
try:
while True:

View file

@ -71,4 +71,5 @@ def handle_save_failed_tree(options, session, args):
else:
session.logout()
return watch_tasks(session, [task_id],
quiet=opts.quiet, poll_interval=options.poll_interval)
quiet=opts.quiet, poll_interval=options.poll_interval,
topurl=options.topurl)