Yair Zaslavsky has posted comments on this change.
Change subject: gluster: Added additional can do action check
......................................................................
Patch Set 6: Code-Review-1
(1 comment)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/gluster/GlusterBrickValidator.java
Line 124: boolean found = false;
Line 125: for (GlusterBrickEntity paramBrick : bricks) {
Line 126: for (GlusterBrickEntity brick : searchBricks) {
Line 127: // If parameter brick directory matches with any
brick no need to continue further to check
Line 128: if (paramBrick.getId() == brick.getId() ||
(paramBrick.getBrickDirectory().equals(brick.getBrickDirectory())
Guid should be compared with equals.
Line 129: && paramBrick.getServerId() ==
brick.getServerId())) {
Line 130: found = true;
Line 131: break;
Line 132: }
--
To view, visit http://gerrit.ovirt.org/22353
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Id7f5d3b48985552aa5f74178008beb39ee7a06f9
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <[email protected]>
Gerrit-Reviewer: Kanagaraj M <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Sahina Bose <[email protected]>
Gerrit-Reviewer: Shubhendu Tripathi <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches