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

PR comments

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-08-23 09:34:05 -04:00
parent 10d3149613
commit a060b36e0f

View File

@ -54,7 +54,7 @@ export class HelmChartManager {
}
}
private async command(action: string, name: string, version?: string) {
private async executeCommand(action: string, name: string, version?: string) {
const helm = await helmCli.binaryPath();
const cmd = [`"${helm}" ${action} ${this.repo.name}/${name}`];
@ -72,11 +72,11 @@ export class HelmChartManager {
}
public async getReadme(name: string, version?: string) {
return this.command("show readme", name, version);
return this.executeCommand("show readme", name, version);
}
public async getValues(name: string, version?: string) {
return this.command("show values", name, version);
return this.executeCommand("show values", name, version);
}
protected async cachedYaml(): Promise<RepoHelmChartList> {