Fixes unit tests that were broken in ansible 2.8 (#48454)

This commit is contained in:
Tim Rupp 2018-11-09 21:00:03 -08:00 committed by GitHub
parent 5196188b97
commit d97abff0ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 10 deletions

View file

@ -448,8 +448,9 @@ def main():
supports_check_mode=spec.supports_check_mode,
)
client = F5RestClient(**module.params)
try:
client = F5RestClient(**module.params)
mm = ModuleManager(module=module, client=client)
results = mm.exec_module()
cleanup_tokens(client)