[Bugs] [Bug 1352880] gluster volume info --xml returns 0 for nonexistent volume
bugzilla at redhat.com
bugzilla at redhat.com
Thu Jul 7 04:17:53 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1352880
--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14863 committed in release-3.8 by Atin
Mukherjee (amukherj at redhat.com)
------
commit 1b5ed7e2ee3a3ac7d85e649b4ed3adc170f3a9a1
Author: Samikshan Bairagya <samikshan at gmail.com>
Date: Tue Mar 29 16:24:07 2016 +0530
Fix opRet value for volume info --xml call on non-existent volume
The opRet field was being assigned to 0 in the XML output when a
gluster volume info --xml call is made on a non-existent volume.
This change assigns a value of -1 to opRet for volume info calls
for non-existent volumes. Other fields like opErrno and opErrstr
are also assigned relevant values
> Reviewed-on: http://review.gluster.org/13843
> Smoke: Gluster Build System <jenkins at build.gluster.org>
> CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
> Reviewed-by: darshan n <dnarayan at redhat.com>
> Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
> NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
(cherry picked from commit a6e551122c603ab0cba798e7e2b30d3a15191b68)
Change-Id: I3920c602328f74252c87bb521f5a43d4bdc7d44d
BUG: 1352880
Signed-off-by: Samikshan Bairagya <samikshan at gmail.com>
Reviewed-on: http://review.gluster.org/14863
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
Smoke: Gluster Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list