diff --git a/app/workers/functions.php b/app/workers/functions.php index 510aed0922..cf68402abc 100644 --- a/app/workers/functions.php +++ b/app/workers/functions.php @@ -109,8 +109,6 @@ $stdout = \explode("\n", $stdout); } }, $stdout); -var_dump(json_encode($list)); - Console::info(count($list)." functions listed in " . ($executionEnd - $executionStart) . " seconds with exit code {$exitCode}"); /* @@ -507,7 +505,7 @@ class FunctionsV1 $stdout = ''; $stderr = ''; - if(Console::execute("docker stop {$first['name']}", '', $stdout, $stderr, 30) !== 0) { + if(Console::execute("docker rm -f {$first['name']}", '', $stdout, $stderr, 30) !== 0) { Console::error('Failed to remove container: '.$stderr); }