mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: fix logged message
This commit is contained in:
parent
318803d7bb
commit
46269ada70
@ -530,7 +530,7 @@ class Repo(models.Model):
|
||||
if try_count > 4:
|
||||
message = 'Failed to fetch repo %s: %s' % (self.name, e.output.decode())
|
||||
host = self.env['runbot.host']._get_current()
|
||||
host.message_post(body='message')
|
||||
host.message_post(body=message)
|
||||
self.env['runbot.runbot'].warning('Host %s got reserved because of fetch failure' % host.name)
|
||||
_logger.exception(message)
|
||||
host.disable()
|
||||
|
@ -166,7 +166,7 @@
|
||||
</span>
|
||||
<a t-if="bu.local_state == 'running' and bu.database_ids" t-attf-href="http://{{sorted(bu.mapped('database_ids.name'))[0]}}.{{bu.host}}" class="fa fa-sign-in btn btn-info"/>
|
||||
<t t-if="bu" t-call="runbot.build_menu"/>
|
||||
<a t-if="not bu" class="btn btn-default" title="Create build" t-attf-href="/runbot/batch/slot/{{slot.id}}/build">
|
||||
<a t-if="not bu" groups="runbot.group_user" class="btn btn-default" title="Create build" t-attf-href="/runbot/batch/slot/{{slot.id}}/build">
|
||||
<i class="fa fa-play fa-fw"/>
|
||||
</a>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user