From 74b96e01b893fabab8d7751e9f8a191dfa8c7ff0 Mon Sep 17 00:00:00 2001 From: glkappe Date: Mon, 23 Aug 2021 15:02:03 +0800 Subject: [PATCH] Add some desc when execute `tiup-cluster restart` (#1523) --- pkg/cluster/manager/basic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cluster/manager/basic.go b/pkg/cluster/manager/basic.go index 0e287721a6..11b94a5e77 100644 --- a/pkg/cluster/manager/basic.go +++ b/pkg/cluster/manager/basic.go @@ -192,7 +192,7 @@ func (m *Manager) RestartCluster(name string, gOpt operator.Options, skipConfirm if !skipConfirm { if err := tui.PromptForConfirmOrAbortError( - fmt.Sprintf("Will restart the cluster %s with nodes: %s roles: %s.\nDo you want to continue? [y/N]:", + fmt.Sprintf("Will restart the cluster %s with nodes: %s roles: %s.\nCluster will be unavailable\nDo you want to continue? [y/N]:", color.HiYellowString(name), color.HiYellowString(strings.Join(gOpt.Nodes, ",")), color.HiYellowString(strings.Join(gOpt.Roles, ",")),