mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Fixes unit tests and move client variable (#48494)
This commit is contained in:
parent
7d11e6e3e5
commit
3132ce8404
2 changed files with 15 additions and 10 deletions
|
@ -521,8 +521,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue