Allon Mureinik has posted comments on this change.

Change subject: core: add validation to AddStorageServerConnection
......................................................................


Patch Set 3: (1 inline comment)

....................................................
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageListModel.java
Line 779: 
Line 780:     private void cleanConnection(StorageServerConnections connection, 
Guid hostId) {
Line 781:         // if create connection command was the one to fail and 
didn't create a connection
Line 782:         // then the id of connection will be empty, and there's 
nothing to delete.
Line 783:         if (connection.getid()!=null && 
!connection.getid().equalsIgnoreCase("")) {
Ignore the StringUtils comment - didn't notice this is a frontend class
Line 784:             
Frontend.RunAction(VdcActionType.RemoveStorageServerConnection, new 
StorageServerConnectionParametersBase(connection, hostId),
Line 785:                 null, this);
Line 786:         }
Line 787: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: If9bcef8a413589654d36db8d878c844550ae6066
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alissa Bonas <abo...@redhat.com>
Gerrit-Reviewer: Alissa Bonas <abo...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: Vered Volansky <vvola...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to