Skip to content

Commit

Permalink
Fix parentheses issue
Browse files Browse the repository at this point in the history
  • Loading branch information
smokestacklightnin committed Dec 19, 2024
1 parent fab9548 commit b1524cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/_nebari/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ def _version_specific_upgrade(
default=False,
):
if (
_terraform_state_config := config.get("terraform_state")
(_terraform_state_config := config.get("terraform_state"))
and (_terraform_state_config.get("type") != "remote")
and not Confirm.ask(
DESTROY_STAGE_FILES_WITH_TF_STATE_NOT_REMOTE,
Expand Down Expand Up @@ -1004,7 +1004,7 @@ def _version_specific_upgrade(
default=False,
):
if (
_terraform_state_config := config.get("terraform_state")
(_terraform_state_config := config.get("terraform_state"))
and (_terraform_state_config.get("type") != "remote")
and not Confirm.ask(
DESTROY_STAGE_FILES_WITH_TF_STATE_NOT_REMOTE,
Expand Down Expand Up @@ -1047,7 +1047,7 @@ def _version_specific_upgrade(
default=False,
):
if (
_terraform_state_config := config.get("terraform_state")
(_terraform_state_config := config.get("terraform_state"))
and (_terraform_state_config.get("type") != "remote")
and not Confirm.ask(
DESTROY_STAGE_FILES_WITH_TF_STATE_NOT_REMOTE,
Expand Down Expand Up @@ -1091,7 +1091,7 @@ def _version_specific_upgrade(
default=False,
):
if (
_terraform_state_config := config.get("terraform_state")
(_terraform_state_config := config.get("terraform_state"))
and (_terraform_state_config.get("type") != "remote")
and not Confirm.ask(
DESTROY_STAGE_FILES_WITH_TF_STATE_NOT_REMOTE,
Expand Down

0 comments on commit b1524cb

Please sign in to comment.