mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
fixes exception raised when extracting timeout value from ModuleStub in eapi (#18651)
This commit is contained in:
committed by
John R Barker
parent
9cb0e771d2
commit
a87d30f72f
@@ -206,7 +206,7 @@ class Eapi(EosConfigMixin):
|
||||
data = json.dumps(body)
|
||||
|
||||
headers = {'Content-Type': 'application/json-rpc'}
|
||||
timeout = self.url_args['timeout']
|
||||
timeout = self.url_args.params['timeout']
|
||||
|
||||
response, headers = fetch_url(
|
||||
self.url_args, self.url, data=data, headers=headers,
|
||||
|
||||
Reference in New Issue
Block a user