diff --git a/prule/daemon/__main__.py b/prule/daemon/__main__.py index 8c1a15344f5865e6a09440b2fc4bcad615af23bb..594d648be9f4ab09f80776cdbc71c747d24293ef 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()