1
0
Fork 0
mirror of synced 2024-06-09 22:34:46 +12:00

Removed log, force old function deletion

This commit is contained in:
Eldad Fux 2020-12-30 09:26:52 +02:00
parent 6c5f85e243
commit bddb720f59

View file

@ -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);
}