Forcing string conversion on boolean parameter
Change-Id: Id891e6948b879dfcb8f777f272dc1cb34cd197e8 Reviewed-on: https://review.openstack.org/12793 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
6ac3c5087b
commit
32128b37f9
@ -92,6 +92,7 @@ def string_param(parser, xml_parent, data):
|
||||
|
||||
|
||||
def bool_param(parser, xml_parent, data):
|
||||
data['default'] = str(data.get('default', 'false')).lower()
|
||||
base_param(parser, xml_parent, data, True,
|
||||
'hudson.model.BooleanParameterDefinition')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user