Fixes missing validate_certs parameter

The bigip_api method was changed in the module_utils function definition
to include the validate_certs option but the bigip_virtual_server module
was not updated accordingly. This patch updates the method so that the
error message below is not returned to the user

received exception: bigip_api() takes exactly 4 arguments (3 given)
This commit is contained in:
Tim Rupp 2016-02-01 16:27:09 -08:00 committed by Matt Clay
parent c54841fb3e
commit 6ef0c71523

View file

@ -406,7 +406,7 @@ def main():
module.fail_json(msg="valid ports must be in range 1 - 65535")
try:
api = bigip_api(server, user, password)
api = bigip_api(server, user, password, validate_certs)
result = {'changed': False} # default
if state == 'absent':