mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-30 15:30:08 +00:00
@@ -286,8 +286,12 @@ readonly class DockerController {
|
||||
}
|
||||
|
||||
public function SystemPrune(Request $request, Response $response, array $args) : Response {
|
||||
$this->dockerActionManager->SystemPrune();
|
||||
return $response->withStatus(201)->withHeader('Location', '.');
|
||||
$results = $this->dockerActionManager->SystemPrune();
|
||||
$body = $response->getBody();
|
||||
$body->write(json_encode($results));
|
||||
return $response
|
||||
->withStatus(200)
|
||||
->withHeader('Content-Type', 'application/json; charset=utf-8');
|
||||
}
|
||||
|
||||
public function stopTopContainer() : void {
|
||||
|
||||
Reference in New Issue
Block a user