summaryrefslogtreecommitdiffstats
path: root/ufo
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2012-11-26 14:25:21 +0530
committerAnand Avati <avati@redhat.com>2012-12-10 14:18:34 -0800
commit5886396d969a317cfd46e3da82543b0868325acc (patch)
treef8cd00c088bc6b6437363c0ff7fa90c41a9edc0b /ufo
parent845aba3ddcfaf7bcef283002b7b5bbf2075d4539 (diff)
cli: fail vol set when value = empty string/string with all whitespaces
PROBLEMS: a. 'volume set' operation accepts empty strings and strings containing all whitespaces for value. The result - subsequent attempts to start glusterd fail. b. 'volume set group' operation, when passed an empty string or string containing all spaces as value, fopens the wrong file. FIX: Made volume set parser in cli check for and invalidate value if its length is 0 after all the whitespaces have been stripped off. Change-Id: I6792ee1fe9452d8e25e1fd1eeb1b9981be3389f1 BUG: 859927 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/4246 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'ufo')
0 files changed, 0 insertions, 0 deletions