mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: fix typo in reference build message
When the reference build for some build is not done yet a message is logged with a link to the referenced build, however due to a typo in the message the markdown was badly formatted.
This commit is contained in:
parent
86810df3f7
commit
c64e613359
@ -813,7 +813,7 @@ class ConfigStep(models.Model):
|
|||||||
build._kill(result='ko')
|
build._kill(result='ko')
|
||||||
return
|
return
|
||||||
if reference_build.local_state not in ('done', 'running'):
|
if reference_build.local_state not in ('done', 'running'):
|
||||||
build._log('_run_restore', f'Reference build [{reference_build.id}]({reference_build.build_url} is not yet finished, database may not exist', log_type='markdown', level='WARNING')
|
build._log('_run_restore', f'Reference build [{reference_build.id}]({reference_build.build_url}) is not yet finished, database may not exist', log_type='markdown', level='WARNING')
|
||||||
dump_db = reference_build.database_ids.filtered(lambda d: d.db_suffix == dump_suffix)
|
dump_db = reference_build.database_ids.filtered(lambda d: d.db_suffix == dump_suffix)
|
||||||
if not dump_db:
|
if not dump_db:
|
||||||
build._log('_run_restore', f'No dump with suffix {dump_suffix} found in build [{reference_build.id}]({reference_build.build_url})', log_type='markdown', level='ERROR')
|
build._log('_run_restore', f'No dump with suffix {dump_suffix} found in build [{reference_build.id}]({reference_build.build_url})', log_type='markdown', level='ERROR')
|
||||||
|
Loading…
Reference in New Issue
Block a user