From 3575aa1113e6b3ec144532c0b115ad59641c303c Mon Sep 17 00:00:00 2001 From: Dragomir Penev <6687393+dragomirp@users.noreply.github.com> Date: Thu, 14 Sep 2023 16:14:52 +0300 Subject: [PATCH] Code review tweaks --- src/backups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backups.py b/src/backups.py index aafa04ccb6..9abb59fc27 100644 --- a/src/backups.py +++ b/src/backups.py @@ -412,7 +412,7 @@ def _initialise_stanza(self) -> None: @property def _is_primary_pgbackrest_service_running(self) -> bool: if not self.charm.primary_endpoint: - logger.warning("Failed to contact pgBackRest TLS server: no promary endpoint") + logger.warning("Failed to contact pgBackRest TLS server: no primary endpoint") return False return_code, _, stderr = self._execute_command( [PGBACKREST_EXECUTABLE, "server-ping", "--io-timeout=10", self.charm.primary_endpoint]