[Bugs] [Bug 1321836] gluster volume info|status --xml returns 0 for nonexistent volume
bugzilla at redhat.com
bugzilla at redhat.com
Tue Jun 21 07:11:11 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1321836
--- Comment #4 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13843 committed in master by Atin Mukherjee
(amukherj at redhat.com)
------
commit a6e551122c603ab0cba798e7e2b30d3a15191b68
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
Change-Id: I3920c602328f74252c87bb521f5a43d4bdc7d44d
BUG: 1321836
Signed-off-by: Samikshan Bairagya <samikshan at gmail.com>
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>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=BTKpr8njPE&a=cc_unsubscribe
More information about the Bugs
mailing list