Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Don't validate missing cloud-init enums
......................................................................
restapi: Don't validate missing cloud-init enums
Currently we blindly try to validate enums included in cloud-init
specifications, but they may be missing. As they aren't declared as
mandatory this patch changes the validator so it won't try to validate
them when they are missing.
Change-Id: If7c29a92909fb9f436b06d2ed534fe2cbc34a293
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/validation/CloudInitValidator.java
1 file changed, 14 insertions(+), 9 deletions(-)
Approvals:
Shahar Havivi: Looks good to me, approved
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/36081
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If7c29a92909fb9f436b06d2ed534fe2cbc34a293
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server