Skip to content

Commit 95ddb86

Browse files
committed
handling different versions of Postgres of unit
1 parent ddca599 commit 95ddb86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/charm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1585,7 +1585,7 @@ def client_relations(self) -> List[Relation]:
15851585
return relations
15861586

15871587
def _validate_database_version(self, version: str) -> bool:
1588-
"""Checking that only one version of Postgres is used"""
1588+
"""Checking that only one version of Postgres is used."""
15891589
peer_db_version = self.app_peer_data.get("database-version")
15901590

15911591
if self.unit.is_leader() and peer_db_version is None:

0 commit comments

Comments
 (0)