Changed trigger validation option to BoolOpt
@@ -75,10 +75,10 @@ def register_opts(ignore_errors=False):
cfg.BoolOpt('debug', help='Enable debug mode.', default=False),
cfg.StrOpt('base_path', default='/opt/stackstorm',
help='Base path to all st2 artifacts.'),
- cfg.StrOpt('validate_trigger_parameters', default=False,
+ cfg.BoolOpt('validate_trigger_parameters', default=False,
help=('True to validate parameters for non-system trigger types when creating'
'a rule. By default, only parameters for system triggers are validated')),
- cfg.StrOpt('validate_trigger_payload', default=False,
+ cfg.BoolOpt('validate_trigger_payload', default=False,
help=('True to validate payload for non-system trigger types when dispatching'
'a trigger inside the sensor. By default, only payload for system '
'triggers is validated.'))
