Only build CTS url when configured
JIRA: RHELCMP-6611 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
5c26aa9127
commit
a1ebd234a4
2 changed files with 10 additions and 9 deletions
|
|
@ -330,7 +330,7 @@ def main():
|
|||
)
|
||||
|
||||
rv = Compose.update_compose_url(compose_dir, conf)
|
||||
if not rv.ok:
|
||||
if rv and not rv.ok:
|
||||
logger.error("CTS compose_url update failed with the error: %s" % rv.text)
|
||||
|
||||
errors, warnings = pungi.checks.validate(conf, offline=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue