1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix cluster connection failing after execHelm (#5432)

This commit is contained in:
Sebastian Malton 2022-05-20 06:15:15 -07:00 committed by GitHub
parent 518808f254
commit 0b971e87b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ export async function execHelm(args: string[], options?: BaseEncodingOptions & E
try {
const opts = { ...options };
opts.env ??= process.env;
opts.env ??= { ...process.env };
if (!opts.env.HTTPS_PROXY && UserStore.getInstance().httpsProxy) {
opts.env.HTTPS_PROXY = UserStore.getInstance().httpsProxy;