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: If5e1bc20b9fc3afb8a7d538357b29b004415a894
This commit is contained in:
@@ -243,7 +243,7 @@ class BindOperatorCharm(sunbeam_charm.OSBaseOperatorCharmK8S):
|
||||
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.update_owned_relation_data()
|
||||
self.open_ports()
|
||||
self.init_container_services()
|
||||
|
Reference in New Issue
Block a user