Yair Zaslavsky has posted comments on this change.

Change subject: core: Use VdsValidator in canDoAction of ActivateVds
......................................................................


Patch Set 2: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsValidator.java
Line 62:         ValidationResult existsValidation = exists();
Line 63:         if (!existsValidation.isValid()) {
Line 64:             return existsValidation;
Line 65:         }
Line 66:         if (vds.getStatus().equals(VDSStatus.Up)) {
You are correct. I should have used it, writing patches at 03:00 AM is not a 
good idea! :)
Line 67:             return new ValidationResult(VdcBllMessages.VDS_ALREADY_UP);
Line 68:         }
Line 69:         return ValidationResult.VALID;
Line 70:     }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie9a887de27757cd8ff89c8d68eb916be68d327fd
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Martin PeÅ™ina <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to