mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-29 23:10:08 +00:00
@@ -1145,9 +1145,11 @@ readonly class DockerActionManager {
|
||||
}
|
||||
}
|
||||
|
||||
protected function sendHttpRequest(string $httpMethod, string $url, array $requestOptions = []): Guzzle\Http\Message\Response {
|
||||
if ($requestOptions['stream'] === true) {
|
||||
protected function sendHttpRequest(string $httpMethod, string $url, array $requestOptions = []): \GuzzleHttp\Psr7\Response {
|
||||
if ($requestOptions['stream'] ?? null === true) {
|
||||
$requestOptions['proxy'] = 'unix:///var/run/docker.sock';
|
||||
}
|
||||
return $this->guzzleClient->request($httpMethod, $url, $requestOptions);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user