-
Notifications
You must be signed in to change notification settings - Fork 666
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Platforms_base_schema destroy copy.deepcopy(base_schema). Then when validating multiply molecules it's running with errors. Eg. two moleule with different drivers. One Azure second docker . If docker will be validated first from it schema we are getting 'image': { 'type': 'string', which is not valid for azure driver but will be in schema. ERROR: Failed to validate. {'platforms': [{0: [{'image': ['must be of string type']}], 1: [{'image': ['must be of string type']}], 2: [{'image': ['must be of string type']}]}]} Moving platforms_base_schema to base_schema and changing the util.merge_dicts fixes the issue.
- Loading branch information
1 parent
bf5327b
commit 70e3543
Showing
1 changed file
with
27 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters