From 8d26efa1e75e3ddaecc21f3112c9c08be3f9b65f Mon Sep 17 00:00:00 2001 From: Teetje Stark Date: Thu, 26 Oct 2023 17:27:57 +0200 Subject: [PATCH] await it --- connaisseur/flask_application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connaisseur/flask_application.py b/connaisseur/flask_application.py index 0d827ab70..da81726ea 100644 --- a/connaisseur/flask_application.py +++ b/connaisseur/flask_application.py @@ -179,7 +179,7 @@ async def __validate_image( # also changed its image reference, which would have been skipped (see # below). if the replicas are now increased, the image reference would # not be checked, which is not desired. - asyncio.sleep(30) + await asyncio.sleep(30) if ( feature_flag_on(const.AUTOMATIC_UNCHANGED_APPROVAL) and admission_request.operation.upper() == "UPDATE"