1
0
Fork 0
mirror of synced 2024-07-08 07:55:48 +12:00

Update app/executor.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Bradley Schofield 2022-01-31 10:47:00 +00:00 committed by GitHub
parent 6b77d62e4b
commit 663ce27db4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -987,9 +987,9 @@ App::delete('/v1/functions/:functionId')
Console::info('Removed container for deployment ' . $deployment['$id']); Console::info('Removed container for deployment ' . $deployment['$id']);
} }
return $response $response
->setStatusCode(Response::STATUS_CODE_OK) ->setStatusCode(Response::STATUS_CODE_OK)
->json(['success' => true]); ->send();
} catch (Throwable $th) { } catch (Throwable $th) {
$orchestrationPool->put($orchestration); $orchestrationPool->put($orchestration);
throw $th; throw $th;