From e24273b26b9726f02c947bf7f376a2086436cd2d Mon Sep 17 00:00:00 2001 From: Robin Leber <rleber98@gmail.com> Date: Wed, 12 Jun 2024 14:19:20 +0200 Subject: [PATCH] FIX: run and stop bug --- src/functions/helperFunctions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/functions/helperFunctions.js b/src/functions/helperFunctions.js index 9c5d24c..61ef2e3 100644 --- a/src/functions/helperFunctions.js +++ b/src/functions/helperFunctions.js @@ -62,6 +62,7 @@ const addCustomCodeToJson = async (newElement) => { await removeDockerImage(newElement.id); existingFilter.code = newElement.code; existingFilter.isDeployed = false; + existingFilter.isPaused = false; } else if (existingFilter && !existingFilter.isDeployed) { existingFilter.code = newElement.code; } else { @@ -214,7 +215,7 @@ const scaleOut = async (id) => { JSON.stringify(customCodes, null, 2), "utf8" ); - restartArchitecture(); + await restartArchitecture(); } catch (err) { console.error(err); throw err; -- GitLab