Merge "Fix log update-status error"

This commit is contained in:
Zuul 2019-08-14 14:13:07 +00:00 committed by Gerrit Code Review
commit 81b1bdb78d
1 changed files with 6 additions and 0 deletions

View File

@ -160,6 +160,12 @@ def amqp_joined(relation_id=None):
vhost=config('rabbit-vhost'))
@hooks.hook('update-status')
def dummy_update_status():
"""Dummy function to silence missing hook log entry"""
pass
@hooks.hook('amqp-relation-changed',
'amqp-relation-departed')
@restart_on_change(restart_map())