mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 19:01:26 -07:00
fixes exception raised when extracting timeout value from ModuleStub in eapi (#18651)
This commit is contained in:
parent
9cb0e771d2
commit
a87d30f72f
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ class Eapi(EosConfigMixin):
|
||||||
data = json.dumps(body)
|
data = json.dumps(body)
|
||||||
|
|
||||||
headers = {'Content-Type': 'application/json-rpc'}
|
headers = {'Content-Type': 'application/json-rpc'}
|
||||||
timeout = self.url_args['timeout']
|
timeout = self.url_args.params['timeout']
|
||||||
|
|
||||||
response, headers = fetch_url(
|
response, headers = fetch_url(
|
||||||
self.url_args, self.url, data=data, headers=headers,
|
self.url_args, self.url, data=data, headers=headers,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue