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: Ie8491dddeae83b19a515a975a923f49217eff8d2
This commit is contained in:
parent
a296725005
commit
00b931b9bd
@ -334,7 +334,7 @@ class DesignateOperatorCharm(sunbeam_charm.OSBaseOperatorAPICharm):
|
||||
def configure_unit(self, event: ops.EventBase) -> None:
|
||||
"""Run configuration on this unit."""
|
||||
self.check_leader_ready()
|
||||
self.check_relation_handlers_ready()
|
||||
self.check_relation_handlers_ready(event)
|
||||
self.open_ports()
|
||||
self.init_container_services()
|
||||
self.check_pebble_handlers_ready()
|
||||
|
Loading…
Reference in New Issue
Block a user