mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
Updates F5 module utils (#43047)
New functions and fixes/refactorings for existing functions for the 2.7 work
This commit is contained in:
parent
1e2b332001
commit
867dedc787
4 changed files with 304 additions and 9 deletions
|
@ -87,7 +87,7 @@ class F5RestClient(F5BaseClient):
|
|||
|
||||
if response.status not in [200]:
|
||||
raise F5ModuleError('Status code: {0}. Unexpected Error: {1} for uri: {2}\nText: {3}'.format(
|
||||
response.status, response.reason, response.url, response._content
|
||||
response.status, response.reason, response.url, response.content
|
||||
))
|
||||
|
||||
session.headers['X-F5-Auth-Token'] = response.json()['token']['token']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue