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

Fix usage of getHelmReleaseResources

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-10-04 15:34:09 -04:00
parent 40d3bf5bb9
commit 6a60f0ee6b

View File

@ -19,8 +19,6 @@ const getHelmReleaseInjectable = getInjectable({
return async (cluster: Cluster, releaseName: string, namespace: string) => {
const kubeconfigPath = await cluster.getProxyKubeconfigPath();
const kubectl = await cluster.ensureKubectl();
const kubectlPath = await kubectl.getPath();
logger.debug("Fetch release");
@ -51,7 +49,6 @@ const getHelmReleaseInjectable = getInjectable({
releaseName,
namespace,
kubeconfigPath,
kubectlPath,
);
if (!resourcesResult.callWasSuccessful) {