Allon Mureinik has posted comments on this change.

Change subject: core: setStorage once in AddSanStorageDomainCommand
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/AddSANStorageDomainCommand.java
Line 39:         String storage = ((getStorageDomain().getStorage()) != null) ? 
getStorageDomain().getStorage() : "";
Line 40:         // set domain storage to empty because not nullable in db and 
for shared
Line 41:         // status to be locked
Line 42:         getStorageDomain().setStorage("");
Line 43:         addStorageDomainInDb();
Not exactly - let's discuss
Line 44:         if(StringUtils.isEmpty(storage)) {
Line 45:               storage = createVG();
Line 46:         }
Line 47:         getStorageDomain().setStorage(storage);


--
To view, visit http://gerrit.ovirt.org/14518
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Idc63f032f274437e0ffbc14392b19e9239fcb8c0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Liron Ar <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: liron aravot <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to