From 123536b006f08e83e5569c164d23e831fde8f519 Mon Sep 17 00:00:00 2001 From: freamon Date: Wed, 21 Aug 2024 13:51:13 +0000 Subject: [PATCH] Fix typo --- app/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cli.py b/app/cli.py index 02ddb2dd..00c87bf6 100644 --- a/app/cli.py +++ b/app/cli.py @@ -230,7 +230,7 @@ def register(app): break else: instance.failures += 1 - elif node.status_code >= 400: + elif nodeinfo.status_code >= 400: current_app.logger.info(f"{instance.domain} has no well-known/nodeinfo response") except requests.exceptions.ReadTimeout: instance.failures += 1