|
|
233933 |
From 00db0c44d109e6f3e394487bf76ff28ba2eee7de Mon Sep 17 00:00:00 2001
|
|
|
233933 |
From: Ravishankar N <ravishankar@redhat.com>
|
|
|
233933 |
Date: Thu, 15 Mar 2018 12:56:02 +0530
|
|
|
233933 |
Subject: [PATCH 22/52] cli: Remove upstream doc reference
|
|
|
233933 |
|
|
|
233933 |
...that is displayed while creating replica 2 volumes.
|
|
|
233933 |
|
|
|
233933 |
Label: DOWNSTREAM ONLY
|
|
|
233933 |
|
|
|
233933 |
Change-Id: I16b45c8ad3a33cdd2a464d84f51d006d8f568b23
|
|
|
233933 |
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
|
|
|
233933 |
Reviewed-on: https://code.engineering.redhat.com/gerrit/132744
|
|
|
233933 |
Reviewed-by: Karthik Subrahmanya <ksubrahm@redhat.com>
|
|
|
233933 |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
233933 |
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
233933 |
---
|
|
|
233933 |
cli/src/cli-cmd-parser.c | 7 ++-----
|
|
|
233933 |
1 file changed, 2 insertions(+), 5 deletions(-)
|
|
|
233933 |
|
|
|
233933 |
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c
|
|
|
233933 |
index f148c59..760a10c 100644
|
|
|
233933 |
--- a/cli/src/cli-cmd-parser.c
|
|
|
233933 |
+++ b/cli/src/cli-cmd-parser.c
|
|
|
233933 |
@@ -606,11 +606,8 @@ cli_cmd_volume_create_parse(struct cli_state *state, const char **words,
|
|
|
233933 |
"Replica 2 volumes are prone"
|
|
|
233933 |
" to split-brain. Use "
|
|
|
233933 |
"Arbiter or Replica 3 to "
|
|
|
233933 |
- "avoid this. See: "
|
|
|
233933 |
- "http://docs.gluster.org/en/latest/"
|
|
|
233933 |
- "Administrator%20Guide/"
|
|
|
233933 |
- "Split%20brain%20and%20ways%20to%20deal%20with%20it/."
|
|
|
233933 |
- "\nDo you still want to "
|
|
|
233933 |
+ "avoid this.\n"
|
|
|
233933 |
+ "Do you still want to "
|
|
|
233933 |
"continue?\n";
|
|
|
233933 |
answer = cli_cmd_get_confirmation(state, question);
|
|
|
233933 |
if (GF_ANSWER_NO == answer) {
|
|
|
233933 |
--
|
|
|
233933 |
1.8.3.1
|
|
|
233933 |
|