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

FIX: pausing

parent 328729ca
Branches daniel-tests
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ const deployArchitecture = async () => {
const stopArchitecture = async () => {
const customCodes = await getCustomCodes();
for (const customCode of customCodes) {
if (!customCode.isPaused) {
if (!customCode.isPaused && customCode.isDeployed) {
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