Omer Frenkel has submitted this change and it was merged.
Change subject: gluster:fix remove brick validator
......................................................................
gluster:fix remove brick validator
Substitute volume replicaCount when replicaCount is not passed
in RemoveBrickParameter.
When user tries to remove a sub volume from DISTRIBUTE_REPLICATE,
he don't need to pass the replicaCount as he is not reducing the
replica count.
Change-Id: Id845f27f01c022c1fdc3240fcf3a7b5a95563bb4
Bug-Url:
https://bugzilla.redhat.com/1034346
Signed-off-by: Ramesh Nachimuthu <rnachimu(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/gluster/GlusterBrickValidator.java
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Omer Frenkel: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/21745
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id845f27f01c022c1fdc3240fcf3a7b5a95563bb4
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ramesh N <rnachimu(a)redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: Ramesh N <rnachimu(a)redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose(a)redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtripat(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server