Skip to content

Commit

Permalink
update runtime.py request data
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Falourd <guillaume.falourd@zup.com.br>
  • Loading branch information
GuillaumeFalourd committed Sep 29, 2023
1 parent 2ec4910 commit f9e3cc9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@

envId = manifesto_yaml["spec"]["appliedPlugins"][0]["inputs"]["stk_env_id"]
wksId = manifesto_yaml["spec"]["appliedPlugins"][0]["inputs"]["stk_wks_id"]
manifesto_json = json.dumps(manifesto_yaml)

request_data = json.dumps(
{
Expand All @@ -69,7 +68,9 @@
}
)
request_data = json.loads(request_data)
merged_dict = {**request_data, **{"manifesto": manifesto_json}}
manifesto_data = json.dumps({"manifesto": manifesto_yaml})

merged_dict = {**request_data, **manifesto_data}
request_data = json.dumps(merged_dict)

print("Deploy request", request_data)
Expand Down

0 comments on commit f9e3cc9

Please sign in to comment.