Skip to content
Snippets Groups Projects
Commit e24273b2 authored by Robin Leber's avatar Robin Leber
Browse files

FIX: run and stop bug

parent 8cb54899
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment