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 zuul project templates to
openstack-python3-charm-jobs

Change-Id: Ib2f65a8ea728bea05b20a54a6df8a047c76b24a3
This commit is contained in:
Hemanth Nakkina 2023-11-02 08:40:18 +05:30
parent eea251d500
commit 56902d7206
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
- project:
templates:
- openstack-python3-charm-yoga-jobs
- openstack-python3-charm-jobs
- openstack-cover-jobs
- microk8s-func-test
vars:

View File

@ -452,7 +452,7 @@ class OVNCentralOperatorCharm(sunbeam_charm.OSBaseOperatorCharmK8S):
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()
# Do not check_pebble_handlers_ready as northd is started later.