- Add call to validate value in resolve_value. This way all the
children in a map will be validated.
- Remove explicit check of string type in String validation since
everything could be considered a string. This is needed because the
version is now being validated and we allow version to be a float or
string.
Closes-Bug: 1789488
Change-Id: I6b1470c7d67fb87497fd3980c0d6e00b8ab50ab1
(cherry picked from commit 8a2fd8d284e3fd50d9d6aeb5f80e3bb715f80837)
Reviewed: https:/ /review. openstack. org/611386 /git.openstack. org/cgit/ openstack/ senlin/ commit/ ?id=45ea66a9e2b f42c771d708b215 c90c4fe00fe927
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 45ea66a9e2bf42c 771d708b215c90c 4fe00fe927
Author: Duc Truong <email address hidden>
Date: Tue Aug 28 00:24:50 2018 +0000
Fix broken schema validation
- Add call to validate value in resolve_value. This way all the
children in a map will be validated.
- Remove explicit check of string type in String validation since
everything could be considered a string. This is needed because the
version is now being validated and we allow version to be a float or
string.
Closes-Bug: 1789488 7497fd3980c0d6e 00b8ab50ab1 0d9d6aeb5f80e3b b715f80837)
Change-Id: I6b1470c7d67fb8
(cherry picked from commit 8a2fd8d284e3fd5