Change Error to Warning for missing name of namespace
Change-Id: I545d8a35e0177370afe98444d078604de3d51ef7
This commit is contained in:
parent
80a6886e81
commit
3949928ca4
|
@ -54,6 +54,7 @@ error.register.E060(description='Wrong namespace fqn')
|
|||
error.register.W045(description='Unsupported usage type')
|
||||
error.register.W011(description='Invalid class name')
|
||||
error.register.W048(description='Contract is not valid yaql')
|
||||
error.register.W060(description='Wrong namespace fqn')
|
||||
|
||||
|
||||
class MuranoPLValidator(base.YamlValidator):
|
||||
|
@ -181,7 +182,7 @@ class MuranoPLValidator(base.YamlValidator):
|
|||
|
||||
for name, fqn in six.iteritems(value):
|
||||
if not self._check_fqn_name(fqn):
|
||||
yield error.report.E060(_('Wrong namespace fqn '
|
||||
yield error.report.W060(_('Wrong namespace fqn '
|
||||
'"{}"').format(fqn), fqn)
|
||||
if not self._check_name(name) and name != '=':
|
||||
yield error.report.E060(_('Wrong name for namespace '
|
||||
|
|
Loading…
Reference in New Issue