Skip to content

Commit 35ab929

Browse files
committed
Update cluster command output
1 parent 809b797 commit 35ab929

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/cmd/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ var downCmd = &cobra.Command{
226226
exit.Error(err)
227227
}
228228

229-
prompt.YesOrExit(fmt.Sprintf("your cluster named \"%s\" in %s will be spun down and all apis will be deleted, are you sure you want to continue?", *accessConfig.ClusterName, *accessConfig.Region), "")
229+
prompt.YesOrExit(fmt.Sprintf("your cluster (%s in %s) will be spun down and all apis will be deleted, are you sure you want to continue?", *accessConfig.ClusterName, *accessConfig.Region), "")
230230

231231
_, exitCode, err := runManagerAccessCommand("/root/uninstall.sh", *accessConfig, awsCreds)
232232
if err != nil {

cli/cmd/lib_cluster_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ func confirmUpdateClusterConfig(clusterConfig *clusterconfig.Config, awsCreds *A
299299
fmt.Println(clusterConfigConfirmaionStr(clusterConfig, awsCreds) + "\n")
300300

301301
exitMessage := fmt.Sprintf("cluster configuration can be modified via the cluster config file; see https://www.cortex.dev/v/%s/cluster-management/config", consts.CortexVersionMinor)
302-
prompt.YesOrExit(fmt.Sprintf("your cluster named \"%s\" in %s will be updated according to the configuration above, would you like to continue?", clusterConfig.ClusterName, *clusterConfig.Region), exitMessage)
302+
prompt.YesOrExit(fmt.Sprintf("your cluster (%s in %s) will be updated according to the configuration above, are you sure you want to continue?", clusterConfig.ClusterName, *clusterConfig.Region), exitMessage)
303303
}
304304

305305
func clusterConfigConfirmaionStr(clusterConfig *clusterconfig.Config, awsCreds *AWSCredentials) string {

0 commit comments

Comments
 (0)