Commit c8c7bae9 authored by Maksimelyan Tamashevich (EPAM)'s avatar Maksimelyan Tamashevich (EPAM)
Browse files

GONRG-2353 Format python script

parent 39e82253
Pipeline #39791 failed with stages
in 2 minutes and 31 seconds
#!/usr/bin/python
import json
import os
with open('OSDUApp/src/assets/config/config.prod.json', 'r') as file:
json_data = json.load(file)
if json_data['idp'][1]['cloud_name'] == "gcp":
json_data = json.load(file)
if json_data['idp'][1]['cloud_name'] == "gcp":
json_data['idp'][0]['in_use'] = False
json_data['idp'][1]['in_use'] = True
json_data['idp'][1]['api_endpoints']['entitlement_endpoint'] = os.environ['ENTITLEMENTS_ENDPOINT']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment