fix(xen-api/transports/xml-rpc): fix agent support
Introduced by c99120bd2
This commit is contained in:
parent
749cdd011b
commit
e44857c023
@ -28,4 +28,5 @@
|
||||
>
|
||||
> In case of conflict, the highest (lowest in previous list) `$version` wins.
|
||||
|
||||
- xen-api patch
|
||||
- @xen-orchestra/proxy patch
|
||||
|
@ -30,7 +30,7 @@ const parseResult = result => {
|
||||
return result.Value
|
||||
}
|
||||
|
||||
export default ({ secureOptions, url: { hostname, port, protocol, agent } }) => {
|
||||
export default ({ secureOptions, url: { hostname, port, protocol }, agent }) => {
|
||||
const secure = protocol === 'https:'
|
||||
const client = (secure ? createSecureClient : createClient)({
|
||||
...(secure ? secureOptions : undefined),
|
||||
|
Loading…
Reference in New Issue
Block a user