summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorhari gowtham <hgowtham@redhat.com>2015-10-27 11:51:33 +0530
committerDan Lambright <dlambrig@redhat.com>2015-10-28 04:20:16 -0700
commitc926dcf3a76ae5caeaa5dacc4210949bc3f8f212 (patch)
tree797cac3d9a89992b68182271ad95a5e05a836093 /xlators
parent531199b60e7a03ec7c3c56cb29cf74d8596f3cd6 (diff)
tier: Typo while setting the wrong value of low/hi watermark
back port of : http://review.gluster.org/#/c/12432/ While setting the wrong value of watermark-hi/low the output shows "compatiblevalue" whereas it should be "compatible value" >Change-Id: I29c8f9a954928d22e436465f4ebc30bd08640138 >BUG: 1275502 >Signed-off-by: hari gowtham <hgowtham@redhat.com> >Reviewed-on: http://review.gluster.org/12432 >Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> >Tested-by: Gluster Build System <jenkins@build.gluster.com> >Reviewed-by: Dan Lambright <dlambrig@redhat.com> Change-Id: I29c8f9a954928d22e436465f4ebc30bd08640138 BUG: 1275910 Reviewed-on: http://review.gluster.org/12434 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Dan Lambright <dlambrig@redhat.com> Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 7ab873480bf..4099f5c115a 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -80,8 +80,9 @@ validate_tier (glusterd_volinfo_t *volinfo, dict_t *dict, char *key,
if (strstr (key, "watermark-hi") ||
strstr (key, "watermark-low")) {
if ((origin_val < 1) || (origin_val > 99)) {
- snprintf (errstr, sizeof (errstr), "%s is not a compatible"
- "value. %s expects a percentage from 1-99.",
+ snprintf (errstr, sizeof (errstr), "%s is not a "
+ "compatible value. %s expects a "
+ "percentage from 1-99.",
value, key);
gf_msg (this->name, GF_LOG_ERROR, EINVAL,
GD_MSG_INCOMPATIBLE_VALUE, "%s", errstr);