Fixed a bug in error reprting of the new 'include_parent' feature

This commit is contained in:
Daniel Dayley 2021-07-11 17:16:45 -06:00
parent 81c46a31bc
commit 3a2651ccdb

View File

@ -21,7 +21,7 @@ class ServiceDelegate(ServiceBase) :
self._error.append('Missing required config option ' + requirement)
return
if 'include_parent' not in self._config or ('include_parent' in self._config and (self._config['include_parent'] == '' or type(self._config['include_parent']) != bool)):
self._error.append('Missing required config option ' + requirement)
self._error.append('Missing required config option \'include_parent\'')
return
if 'object_types' not in self._config or ('object_types' in self._config and (self._config['object_types'] == '' or type(self._config['object_types']) != list)):
self._error.append('Missing at least one object type in object_types')