Tal Nisan has posted comments on this change.

Change subject: core: add ability edit nfs path in webadmin
......................................................................


Patch Set 2: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/UpdateStorageServerConnectionCommand.java
Line 25: 
Line 26:     @Override
Line 27:     protected boolean canDoAction() {
Line 28:         StorageServerConnections connection = 
getParameters().getStorageServerConnection();
Line 29:         //Check if the NFS path has a valid format
Better to add here first a validation that the connection is indeed of type NFS 
and fail the cando if it's not, otherwise we can theoretically succeed the 
cando phase with a non NFS connection from the database
Line 30:         if (connection.getstorage_type() == StorageType.NFS
Line 31:                 && !new 
NfsMountPointConstraint().isValid(connection.getconnection(), null)) {
Line 32:             return 
failCanDoAction(VdcBllMessages.VALIDATION_STORAGE_CONNECTION_INVALID);
Line 33:         }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ifaff5344ff191d6bdf53cc706c7bb796167a56b3
Gerrit-PatchSet: 2
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: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to