Skip to content

Commit

Permalink
Remove unnecessary inclusion of attempt_fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
smokestacklightnin committed Nov 18, 2024
1 parent 3fa3962 commit c6cc665
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/_nebari/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -1121,15 +1121,11 @@ def _version_specific_upgrade(
rich.print(
"[red bold]Before upgrading, you need to manually delete the prometheus-node-exporter daemonset and update the kube-prometheus-stack CRDs. To do that, please run the following commands.[/red bold]"
)
_ = kwargs.get("attempt_fixes", False) or Prompt.ask(
"Hit enter to show the commands"
)
_ = Prompt.ask("Hit enter to show the commands")
console.print(commands)

_ = kwargs.get("attempt_fixes", False) or Prompt.ask(
"Hit enter to continue"
)
continue_ = kwargs.get("attempt_fixes", False) or Confirm.ask(
_ = Prompt.ask("Hit enter to continue")
continue_ = Confirm.ask(
f"Have you backed up your custom dashboards (if necessary), deleted the {daemonset_name} daemonset and updated the kube-prometheus-stack CRDs?",
default=False,
)
Expand Down

0 comments on commit c6cc665

Please sign in to comment.