Add update-status hook and ensure that assessment is made of status even on hooks that are not actually registered in the charm codebase
This commit is contained in:
parent
e2f42ba2d6
commit
c395c6d907
|
@ -721,6 +721,6 @@ def pre_install_hooks():
|
|||
if __name__ == '__main__':
|
||||
try:
|
||||
hooks.execute(sys.argv)
|
||||
rabbit.assess_status()
|
||||
except UnregisteredHookError as e:
|
||||
log('Unknown hook {} - skipping.'.format(e))
|
||||
rabbit.assess_status()
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
rabbitmq_server_relations.py
|
Loading…
Reference in New Issue