Fix incorrect return value of updateRelease

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-03-11 09:24:16 +02:00
1 parent 79587514d8
commit 3f28a09fa1
1 file changed
+4 -2
+4 -2
View File
@@ -90,9 +90,11 @@ export async function upgradeRelease(name: string, chart: string, values: any, n
]; ];
try { try {
const output = await execHelm(args);
return { return {
log: await execHelm(args), log: output,
release: getRelease(name, namespace, kubeconfigPath, kubectlPath), release: await getRelease(name, namespace, kubeconfigPath, kubectlPath),
}; };
} finally { } finally {
await fse.unlink(valuesFilePath); await fse.unlink(valuesFilePath);