From 5ee0712e3f5829246621a1db3ba2b8585c45517b Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Fri, 4 Oct 2024 15:55:45 +0530 Subject: [PATCH] Set config ref after uploading it --- stack_orchestrator/deploy/webapp/request_webapp_deployment.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stack_orchestrator/deploy/webapp/request_webapp_deployment.py b/stack_orchestrator/deploy/webapp/request_webapp_deployment.py index 39893a8e..3ea8e776 100644 --- a/stack_orchestrator/deploy/webapp/request_webapp_deployment.py +++ b/stack_orchestrator/deploy/webapp/request_webapp_deployment.py @@ -183,6 +183,8 @@ def command( # noqa: C901 if not response.ok: response.raise_for_status() + config_ref = response.json()["id"] + target_deployer = deployer if (not deployer) and len(deployer_record.names): target_deployer = deployer_record.names[0]