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

FIX: only pause running Container

parent fe610344
No related branches found
No related tags found
No related merge requests found
......@@ -159,8 +159,10 @@ const deployArchitecture = async () => {
const stopArchitecture = async () => {
const customCodes = await getCustomCodes();
for (const customCode of customCodes) {
await pauseDockerContainer(customCode.id);
await setIsPaused(customCode.id);
if (!customCode.isPaused) {
await pauseDockerContainer(customCode.id);
await setIsPaused(customCode.id);
}
}
};
......
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