Skip to content
Snippets Groups Projects
Commit 7129015b authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

remove print

parent 25425295
Branches
Tags
No related merge requests found
......@@ -160,15 +160,12 @@ def get_or_create_service_account(request: AdminRequest, org_id):
raise e
# create a service account for provisioning
try:
result = request.post(
'api/serviceaccounts', json={
'name': 'provision',
'role': 'Admin',
'isDisabled': False,
}).json()
except HTTPError as e:
print(e)
result = request.post(
'api/serviceaccounts', json={
'name': 'provision',
'role': 'Admin',
'isDisabled': False,
}).json()
logger.info(f'Created provision service account for organization #{org_id}')
return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment