You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/10/27 12:36:35 UTC
[GitHub] [ignite-3] PakhomovAlexander commented on a diff in pull request #1167: IGNITE-17752 Clarify message shown when CLI was not started before
PakhomovAlexander commented on code in PR #1167:
URL: https://github.com/apache/ignite-3/pull/1167#discussion_r1006815311
##########
modules/cli/src/main/java/org/apache/ignite/internal/cli/commands/questions/ConnectToClusterQuestion.java:
##########
@@ -93,12 +93,14 @@ public void askQuestionOnReplStart() {
String clusterUrl;
if (lastConnectedUrl != null) {
question = QuestionUiComponent.fromQuestion(
- "Do you want to connect to the last connected node %s? %s ", UiElements.url(lastConnectedUrl), UiElements.yesNo()
+ "Do you want to reconnect to the last connected node %s? %s ",
+ UiElements.url(lastConnectedUrl), UiElements.yesNo()
);
clusterUrl = lastConnectedUrl;
} else if (defaultUrl != null) {
question = QuestionUiComponent.fromQuestion(
- "Do you want to connect to the default node %s? %s ", UiElements.url(defaultUrl), UiElements.yesNo()
+ "You appear to have not connected to any node. Do you want to connect to the default node %s? %s ",
Review Comment:
`You appear to have not connected to any node yet`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org