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:
parent
40d3bf5bb9
commit
6a60f0ee6b
@ -19,8 +19,6 @@ const getHelmReleaseInjectable = getInjectable({
|
|||||||
|
|
||||||
return async (cluster: Cluster, releaseName: string, namespace: string) => {
|
return async (cluster: Cluster, releaseName: string, namespace: string) => {
|
||||||
const kubeconfigPath = await cluster.getProxyKubeconfigPath();
|
const kubeconfigPath = await cluster.getProxyKubeconfigPath();
|
||||||
const kubectl = await cluster.ensureKubectl();
|
|
||||||
const kubectlPath = await kubectl.getPath();
|
|
||||||
|
|
||||||
logger.debug("Fetch release");
|
logger.debug("Fetch release");
|
||||||
|
|
||||||
@ -51,7 +49,6 @@ const getHelmReleaseInjectable = getInjectable({
|
|||||||
releaseName,
|
releaseName,
|
||||||
namespace,
|
namespace,
|
||||||
kubeconfigPath,
|
kubeconfigPath,
|
||||||
kubectlPath,
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!resourcesResult.callWasSuccessful) {
|
if (!resourcesResult.callWasSuccessful) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user