We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c2211c commit f134270Copy full SHA for f134270
src/charm.py
@@ -461,21 +461,6 @@ def patroni_scrape_config(self) -> list[dict]:
461
}
462
]
463
464
- @property
465
- def app_units(self) -> set[Unit]:
466
- """The peer-related units in the application."""
467
- if not self._peers:
468
- return set()
469
-
470
- return {self.unit, *self._peers.units}
471
472
- def scoped_peer_data(self, scope: SCOPES) -> dict | None:
473
- """Returns peer data based on scope."""
474
- if scope == APP_SCOPE:
475
- return self.app_peer_data
476
- elif scope == UNIT_SCOPE:
477
- return self.unit_peer_data
478
479
@property
480
def app_peer_data(self) -> dict:
481
"""Application peer relation data object."""
0 commit comments