consul: fix param name for verify SSL (#2194)

Introduced in #1793, fixes #2114, needs backport to 2.1
pull/18777/head
René Moser 9 years ago committed by Matt Clay
parent 6efea4a064
commit e6766078ea

@ -332,7 +332,7 @@ def get_consul_api(module, token=None):
return consul.Consul(host=module.params.get('host'),
port=module.params.get('port'),
scheme=module.params.get('scheme'),
validate_certs=module.params.get('validate_certs'),
verify=module.params.get('validate_certs'),
token=module.params.get('token'))

@ -313,7 +313,7 @@ def get_consul_api(module, token=None):
return consul.Consul(host=module.params.get('host'),
port=module.params.get('port'),
scheme=module.params.get('scheme'),
validate_certs=module.params.get('validate_certs'),
verify=module.params.get('validate_certs'),
token=token)
def test_dependencies(module):

@ -244,7 +244,7 @@ def get_consul_api(module, token=None):
return consul.Consul(host=module.params.get('host'),
port=module.params.get('port'),
scheme=module.params.get('scheme'),
validate_certs=module.params.get('validate_certs'),
verify=module.params.get('validate_certs'),
token=module.params.get('token'))
def test_dependencies(module):

Loading…
Cancel
Save