1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

Introduced in #1793, fixes #2114, needs backport to 2.1
This commit is contained in:
René Moser 2016-05-27 15:46:56 +02:00 committed by Matt Clay
parent 6efea4a064
commit e6766078ea
3 changed files with 3 additions and 3 deletions

View file

@ -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'))

View file

@ -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):

View file

@ -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):