From bb8c878959abf2f549d9c9812a3fb4b201c4cd9d Mon Sep 17 00:00:00 2001 From: Marcelo Villa Date: Tue, 4 Jun 2024 10:04:01 -0500 Subject: [PATCH] Use choices argument instead. --- src/_nebari/upgrade.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_nebari/upgrade.py b/src/_nebari/upgrade.py index bd9c3d678..a0043fd91 100644 --- a/src/_nebari/upgrade.py +++ b/src/_nebari/upgrade.py @@ -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":