Log the required inputs, instead of raising exceptions
Change-Id: If154aeebf277b3374aaff9c6b5d1d9522ea6c13c Closes-Bug: #1653992
This commit is contained in:
parent
e076a18eab
commit
ed70f10d7a
|
@ -76,10 +76,8 @@ class TopologyTemplate(object):
|
||||||
if (self.parsed_params and input.name not in self.parsed_params
|
if (self.parsed_params and input.name not in self.parsed_params
|
||||||
or self.parsed_params is None) and input.required \
|
or self.parsed_params is None) and input.required \
|
||||||
and input.default is None:
|
and input.default is None:
|
||||||
exception.ExceptionCollector.appendException(
|
log.warning(_('The required parameter %s '
|
||||||
exception.MissingRequiredParameterError(
|
'is not provided') % input.name)
|
||||||
what='Template',
|
|
||||||
input_name=input.name))
|
|
||||||
|
|
||||||
inputs.append(input)
|
inputs.append(input)
|
||||||
return inputs
|
return inputs
|
||||||
|
|
Loading…
Reference in New Issue