From 49641ad902fdf12124e759d636f8c1fdd6325294 Mon Sep 17 00:00:00 2001 From: Tobias Wolf Date: Wed, 6 Nov 2024 08:37:11 +0100 Subject: [PATCH] Fix `KeyError` issues last updated in #86 Signed-off-by: Tobias Wolf --- src/rookify/modules/ceph.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rookify/modules/ceph.py b/src/rookify/modules/ceph.py index 5458e36..0f180aa 100644 --- a/src/rookify/modules/ceph.py +++ b/src/rookify/modules/ceph.py @@ -19,6 +19,7 @@ def __init__(self, config: Dict[str, Any]): status_data = self.mon_command("status") self._fsid = status_data["fsid"] + self._systemd_file_name_templates = config.get( "systemd_file_name_templates", {} )