Eli Mesika has submitted this change and it was merged.
Change subject: core: set DC compatability version to latest...
......................................................................
core: set DC compatability version to latest...
Set DC compatibility version to latest when null
Up to now when adding a DC from API without giving explicitly the
compatibility version was resulted in a failure on unsupported version.
This patch changes this behaviour by setting the latest version as a
default if a null was given for compatibility version.
Change-Id: I53373e9ce2563d91a96353f068cd19069508399d
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1053062
Signed-off-by: Eli Mesika <emesika(a)redhat.com>
---
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/StoragePool.java
M backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Version.java
2 files changed, 5 insertions(+), 1 deletion(-)
Approvals:
Eli Mesika: Verified
Juan Hernandez: Looks good to me, but someone else must approve
Yair Zaslavsky: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/24563
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I53373e9ce2563d91a96353f068cd19069508399d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server