Set config ref after uploading it

This commit is contained in:
Prathamesh Musale 2024-10-04 15:55:45 +05:30
parent 5184f8f756
commit 5ee0712e3f

View File

@ -183,6 +183,8 @@ def command( # noqa: C901
if not response.ok: if not response.ok:
response.raise_for_status() response.raise_for_status()
config_ref = response.json()["id"]
target_deployer = deployer target_deployer = deployer
if (not deployer) and len(deployer_record.names): if (not deployer) and len(deployer_record.names):
target_deployer = deployer_record.names[0] target_deployer = deployer_record.names[0]