Fix a format string for cluster_config_has_changed

This commit is contained in:
benoit 2023-03-02 12:04:29 +01:00 committed by Benoit
parent 275901006b
commit 93b196fb77

View file

@ -179,7 +179,7 @@ class ClusterConfigHasChangedSummary(nagiosplugin.Summary):
def problem(
self: "ClusterConfigHasChangedSummary", results: nagiosplugin.Result
) -> str:
return "The hash of patroni's dynamic configuration has changed. The old hash was {self.old_config_hash}."
return f"The hash of patroni's dynamic configuration has changed. The old hash was {self.old_config_hash}."
class ClusterIsInMaintenance(PatroniResource):