mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Revert
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
parent
a14f932a65
commit
76cb24fbcf
@ -170,9 +170,12 @@ export interface IRemoteKubeApiConfig {
|
||||
clientKeyData?: string;
|
||||
};
|
||||
/**
|
||||
* Custom instance of https.agent
|
||||
* Custom instance of https.agent to use for the requests
|
||||
*
|
||||
* @remarks the custom agent replaced default agent, options skipTLSVerify,
|
||||
* clientCertificateData, clientKeyData and caData are ignored.
|
||||
*/
|
||||
agent?: Agent;
|
||||
agent?: Agent;
|
||||
}
|
||||
|
||||
export function forCluster<
|
||||
@ -245,7 +248,7 @@ export function forRemoteCluster<
|
||||
}
|
||||
|
||||
if (config.agent) {
|
||||
reqInit.agent = config.agent.constructor(agentOptions);
|
||||
reqInit.agent = config.agent;
|
||||
}
|
||||
|
||||
const token = config.user.token;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user