Arik Hadas has submitted this change and it was merged.
Change subject: core: Use new method for max memory size in
RunVmValidator.validateMemorySize
......................................................................
core: Use new method for max memory size in RunVmValidator.validateMemorySize
We introduced new method for determining maximum VM size.
The method allows us to remove this piece of duplicate code.
Change-Id: I35bda7bb837d491740f252ca674b61c54a9d1b7f
Signed-off-by: Milan Zamazal <mzamazal(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/RunVmValidator.java
1 file changed, 2 insertions(+), 13 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Arik Hadas: Looks good to me, approved
Milan Zamazal: Verified
--
To view, visit
https://gerrit.ovirt.org/57257
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I35bda7bb837d491740f252ca674b61c54a9d1b7f
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Milan Zamazal <mzamazal(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Milan Zamazal <mzamazal(a)redhat.com>
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>