Fix check_relation_handlers_ready
Recent changes on charm-ops-sunbeam introduces arugments to check_relation_handlers_ready function. Add event argument to check_relation_handlers_ready. Change-Id: Ibc8eee628cce00b166d25c35daeb4b6313f7fe6f
This commit is contained in:
parent
a5e6641418
commit
c55a6b525b
@ -199,7 +199,7 @@ class HorizonOperatorCharm(sunbeam_charm.OSBaseOperatorAPICharm):
|
||||
def configure_unit(self, event: ops.framework.EventBase) -> None:
|
||||
"""Run configuration on this unit."""
|
||||
self.check_leader_ready()
|
||||
self.check_relation_handlers_ready()
|
||||
self.check_relation_handlers_ready(event)
|
||||
self.init_container_services()
|
||||
self.check_pebble_handlers_ready()
|
||||
self.run_db_sync()
|
||||
|
Loading…
x
Reference in New Issue
Block a user