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

Fix incorrect return value of updateRelease

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-02-14 08:47:59 +02:00
parent 79587514d8
commit 3f28a09fa1
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -90,9 +90,11 @@ export async function upgradeRelease(name: string, chart: string, values: any, n
];
try {
const output = await execHelm(args);
return {
log: await execHelm(args),
release: getRelease(name, namespace, kubeconfigPath, kubectlPath),
log: output,
release: await getRelease(name, namespace, kubeconfigPath, kubectlPath),
};
} finally {
await fse.unlink(valuesFilePath);