mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Various fixes for f5 modules (#44734)
A number of bugfixes for the remaining 2.7 work on the F5 modules.
This commit is contained in:
parent
0d5390a919
commit
0dacc606b4
15 changed files with 560 additions and 199 deletions
|
@ -592,12 +592,7 @@ class ModuleManager(object):
|
|||
response = self.client.api.delete(uri)
|
||||
if response.status == 200:
|
||||
return True
|
||||
|
||||
if 'code' in response and response['code'] == 400:
|
||||
if 'message' in response:
|
||||
raise F5ModuleError(response['message'])
|
||||
else:
|
||||
raise F5ModuleError(response.content)
|
||||
raise F5ModuleError(response.content)
|
||||
|
||||
def read_current_from_device(self):
|
||||
uri = "https://{0}:{1}/mgmt/tm/ltm/profile/http/{2}".format(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue