Skip to content

Commit

Permalink
Use choices argument instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelovilla committed Jun 4, 2024
1 parent d6482ca commit bb8c878
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/_nebari/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,8 @@ def _version_specific_upgrade(

Prompt.ask("Hit enter to continue")
continue_ = Prompt.ask(
"Have you backed up your custom dashboards (if necessary), deleted the prometheus-node-exporter daemonset and updated the kube-prometheus-stack CRDs? \[y/N] ",
"Have you backed up your custom dashboards (if necessary), deleted the prometheus-node-exporter daemonset and updated the kube-prometheus-stack CRDs?",
choices=["y", "N"],
default="N",
)
if not continue_ == "y":
Expand Down

0 comments on commit bb8c878

Please sign in to comment.