summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/properties.py
diff options
context:
space:
mode:
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/properties.py')
-rw-r--r--tosca2heat/tosca-parser/toscaparser/properties.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/properties.py b/tosca2heat/tosca-parser/toscaparser/properties.py
index 23c1db2..c69b151 100644
--- a/tosca2heat/tosca-parser/toscaparser/properties.py
+++ b/tosca2heat/tosca-parser/toscaparser/properties.py
@@ -67,7 +67,8 @@ class Property(object):
self.value = str(self.value)
self.value = DataEntity.validate_datatype(self.type, self.value,
self.entry_schema,
- self.custom_def)
+ self.custom_def,
+ self.name)
self._validate_constraints()
def _validate_constraints(self):