Skip to content

Commit

Permalink
Fix check_plugin_manager_ready
Browse files Browse the repository at this point in the history
  • Loading branch information
phvalguima committed Jun 11, 2024
1 parent d592d6a commit 96079f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/charms/opensearch/v0/opensearch_backups.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def __init__(self, charm: Object, relation_name: str = PeerClusterRelationName):

def _on_peer_relation_changed(self, event) -> None:
"""Processes the non-orchestrator cluster events."""
if not self.charm.plugin_manager.check_plugin_manager_ready():
if not self.charm.plugin_manager.check_plugin_manager_ready_for_api():
logger.warning("s3-changed: cluster not ready yet")
event.defer()
return
Expand Down

0 comments on commit 96079f4

Please sign in to comment.