From 6253a4f646afa51d75d382bf2cbd5f1c2bc44d4a Mon Sep 17 00:00:00 2001 From: Brian Caswell Date: Wed, 11 Nov 2020 07:05:23 -0500 Subject: [PATCH] Don't use HTTP 404 on agent refresh error --- src/api-service/__app__/agent_registration/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/api-service/__app__/agent_registration/__init__.py b/src/api-service/__app__/agent_registration/__init__.py index d49e23dfbf..f2d2fb8d73 100644 --- a/src/api-service/__app__/agent_registration/__init__.py +++ b/src/api-service/__app__/agent_registration/__init__.py @@ -57,7 +57,6 @@ def get(req: func.HttpRequest) -> func.HttpResponse: ], ), context="agent registration", - status_code=404, ) else: pool = Pool.get_by_name(agent_node.pool_name)