consul: fix param name for verify SSL (#2194)
Introduced in #1793, fixes #2114, needs backport to 2.1
This commit is contained in:
parent
6efea4a064
commit
e6766078ea
3 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue