From 942a2909d9b7ac7e85888fb572b744a61153a34d Mon Sep 17 00:00:00 2001
From: Alex Wiens <alex.wiens@uni-paderborn.de>
Date: Tue, 18 Feb 2025 17:49:48 +0100
Subject: [PATCH] Prule.daemon: Fix typo

---
 prule/daemon/__main__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/prule/daemon/__main__.py b/prule/daemon/__main__.py
index 8c1a153..594d648 100644
--- a/prule/daemon/__main__.py
+++ b/prule/daemon/__main__.py
@@ -673,7 +673,7 @@ class PruleThread(threading.Thread):
         try:
             with urllib.request.urlopen(req, timeout=10) as response:
                 if response.status == 200:
-                    return json.load(resonse)
+                    return json.load(response)
                 if response.status == 401:
                     print("HTTP Error 401: Unauthorized, ClusterCockpit API TOKEN invalid?", file=sys.stderr)
                     self.config.signal_shutdown()
-- 
GitLab