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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Shahar Havivi <[email protected]>
Gerrit-Reviewer: [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