Skip to content

Commit

Permalink
Corrections related to issue #40
Browse files Browse the repository at this point in the history
  • Loading branch information
philippemerle committed Feb 8, 2022
1 parent dcdaac0 commit a73debd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/cloudnet/tosca/type_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -1600,7 +1600,7 @@ def check_schema_definition(
+ " - unexpected because type is "
+ str(definition_type)
+ " instead of map",
keyword,
root_type,
)
if keyword is syntax.ENTRY_SCHEMA and root_type not in ["map", "list"]:
self.error(
Expand All @@ -1610,7 +1610,7 @@ def check_schema_definition(
+ " - unexpected because type is "
+ str(definition_type)
+ " instead of list or map",
keyword,
root_type,
)

previous_schema_definition = previous_definition.get(keyword, {})
Expand Down Expand Up @@ -3551,7 +3551,7 @@ def check_required_fields(
+ " required "
+ kind
+ " unassigned",
field_name,
definition,
)
else:
self.info(
Expand Down

0 comments on commit a73debd

Please sign in to comment.