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:
parent
79587514d8
commit
3f28a09fa1
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user