Michael Kublin has posted comments on this change.

Change subject: core: fix redundant storage server conn in db
......................................................................


Patch Set 4: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/RemoveStorageServerConnectionCommand.java
Line 22:              String connectionId = getConnection().getid();
Line 23:              if(StringUtils.isNotEmpty(connectionId)) {
Line 24:                  //remove the connection record from db
Line 25:                  
getDbFacade().getStorageServerConnectionDao().remove(connectionId);
Line 26:                  setSucceeded(true);
Also, forgot to write this in previous review. The command will be successes 
only if remove from db will occur , I think it should be moved outside if 
section
Line 27:              }
Line 28:        }
Line 29:     }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iea5468371514bd2c7bc043a6c5520e2864a09fe8
Gerrit-PatchSet: 4
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: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to