From 299d91f531f3c4a19c8f41db3052ab094f342fc7 Mon Sep 17 00:00:00 2001 From: kimpaller Date: Thu, 5 Dec 2024 10:25:51 +0800 Subject: [PATCH] netbox: fix typo Signed-off-by: kimpaller --- nebula/netbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nebula/netbox.py b/nebula/netbox.py index 8d877cb..98e76e5 100644 --- a/nebula/netbox.py +++ b/nebula/netbox.py @@ -142,7 +142,7 @@ def update_status(self, device_id, status): def log_journal( self, device_id, author_id, kind="info", comments="Automated journal entry" ): - kinds = ["info", "success", "warning", "danger "] + kinds = ["info", "success", "warning", "danger"] if kind not in kinds: raise ValueError(f"kind only accepts {kinds}") self.nb.extras.journal_entries.create(