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

Introduced in #1793, fixes #2114, needs backport to 2.1
reviewable/pr18780/r1
René Moser 9 years ago
parent 3ca06bf1c8
commit e388fb4006

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

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

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

Loading…
Cancel
Save