summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-volume.c
diff options
context:
space:
mode:
authorDawit Alemu <dalemu@redhat.com>2013-11-11 10:58:36 -0500
committerAnand Avati <avati@redhat.com>2013-11-26 16:47:03 -0800
commitf73373f1244829d65d001fa3af8fdade192418c9 (patch)
tree8ad58f17d40f0b9ac3e7204cd367042c61171fb4 /cli/src/cli-cmd-volume.c
parent168bb24a60643e2aedb90170c3d8d3c447c5c5c6 (diff)
cli: write 'volume rebalance' error message in xml format when
--xml is specified When 'volume rebalance' encounters an error the cli prints the error message in plain text independent of whether --xml is specified. This throws off client application that expect xml output (as mentioned in bz1026143). Now, if the --xml flag is supplied, the cli print 'volume rebalance' error messages in xml format. (cherry picked from commit cbb47056ab09ae09eed2550584f190fd5a42fb12) Change-Id: Iec266d56cb2ac34be0ac05a473ae3a08988cca38 BUG: 1026143 Signed-off-by: Dawit Alemu <dalemu@redhat.com> Reviewed-on: http://review.gluster.org/6250 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
0 files changed, 0 insertions, 0 deletions