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: I0ad235dd06d8ea9d62f081f23d1621a8f51b03f2
This commit is contained in:
Hemanth Nakkina 2023-11-02 08:34:13 +05:30
parent fe138ccce1
commit 197b4b81c8

View File

@ -1450,7 +1450,7 @@ export OS_AUTH_VERSION=3
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.open_ports()
self.init_container_services()
self.check_pebble_handlers_ready()