Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
costrouc committed Feb 11, 2022
1 parent cb6f028 commit d5ccc65
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions qhub/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def provision_05_kubernetes_keycloak(stage_outputs, config, check=True):
"initial_root_password"
],
"overrides": [
json.dumps(config['security']['keycloak'].get("overrides", {}))
json.dumps(config["security"]["keycloak"].get("overrides", {}))
],
"node-group": calculate_note_groups(config)["general"],
},
Expand Down Expand Up @@ -616,7 +616,9 @@ def provision_06_kubernetes_keycloak_configuration(stage_outputs, config, check=
directory=directory,
input_vars={
"realm": realm_id,
"realm_display_name": config['security']['keycloak'].get('realm_display_name', realm_id),
"realm_display_name": config["security"]["keycloak"].get(
"realm_display_name", realm_id
),
"authentication": config["security"]["authentication"],
},
)
Expand Down
5 changes: 4 additions & 1 deletion qhub/destroy.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,5 +223,8 @@ def destroy_configuration(config):
check_cloud_credentials(config)

destroy_02_infrastructure(config)
if config["provider"] != "local" and config["terraform_state"]["type"] == "remote":
if (
config["provider"] != "local"
and config["terraform_state"]["type"] == "remote"
):
destroy_01_terraform_state(config)

0 comments on commit d5ccc65

Please sign in to comment.