diff options
author | Joseph Fernandes <josferna@redhat.com> | 2014-07-04 11:45:03 +0530 |
---|---|---|
committer | Krishnan Parthasarathi <kparthas@redhat.com> | 2015-04-10 08:04:33 +0000 |
commit | df26c5e162b2ff413ff551119346e239df5ed663 (patch) | |
tree | 76bfc597a84e9658355f0778bf8c13ea811f1bb9 /cli | |
parent | ca9e4bf6bcc947dd7c179c93dae206c6cde4d3b5 (diff) |
glusterd/snapshot: Fix CLI msg for snap limit set
Change of message from "will lead to deletion of snaps"
to "Will limit creation of new snaps" when setting the
snapshot limits.
Change-Id: I4732555bb35d3ad30c2cef6ea6c7da42a8edf35d
BUG: 1116263
Signed-off-by: Joseph Fernandes <josferna@redhat.com>
Reviewed-on: http://review.gluster.org/8236
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r-- | cli/src/cli-cmd-parser.c | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 84450a8f352..da60cde66d9 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -31,21 +31,26 @@ struct snap_config_opt_vals_ snap_confopt_vals[] = { {.op_name = "snap-max-hard-limit", .question = "Changing snapshot-max-hard-limit " - "will lead to deletion of snapshots " + "will limit the creation of new snapshots " "if they exceed the new limit.\n" "Do you want to continue?" }, {.op_name = "snap-max-soft-limit", - .question = "Changing snapshot-max-soft-limit " - "will lead to deletion of snapshots " - "if they exceed the new limit.\n" - "Do you want to continue?" + .question = "If Auto-delete is enabled, snap-max-soft-limit will" + " trigger deletion of oldest snapshot, on the " + "creation of new snapshot, when the " + "snap-max-soft-limit is reached.\n" + "Do you want to change the snap-max-soft-limit?" }, {.op_name = "both", - .question = "Changing snapshot-max-hard-limit & " - "snapshot-max-soft-limit will lead to " - "deletion of snapshots if they exceed " - "the new limit.\nDo you want to continue?" + .question = "Changing snapshot-max-hard-limit " + "will limit the creation of new snapshots " + "if they exceed the new snapshot-max-hard-limit.\n" + "If Auto-delete is enabled, snap-max-soft-limit will" + " trigger deletion of oldest snapshot, on the " + "creation of new snapshot, when the " + "snap-max-soft-limit is reached.\n" + "Do you want to continue?" }, {.op_name = NULL, } |