mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
log normal imageName instead of encodedImageName
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
ff0d8637ab
commit
58329a7a48
1 changed files with 4 additions and 3 deletions
|
|
@ -579,11 +579,12 @@ class DockerActionManager
|
||||||
|
|
||||||
public function PullImage(Container $container) : void
|
public function PullImage(Container $container) : void
|
||||||
{
|
{
|
||||||
$imageName = urlencode($this->BuildImageName($container));
|
$imageName = $this->BuildImageName($container);
|
||||||
$url = $this->BuildApiUrl(sprintf('images/create?fromImage=%s', $imageName));
|
$encodedImageName = urlencode($imageName);
|
||||||
|
$url = $this->BuildApiUrl(sprintf('images/create?fromImage=%s', $encodedImageName));
|
||||||
try {
|
try {
|
||||||
$this->guzzleClient->post($url);
|
$this->guzzleClient->post($url);
|
||||||
$imageUrl = $this->BuildApiUrl(sprintf('images/%s/json', $imageName));
|
$imageUrl = $this->BuildApiUrl(sprintf('images/%s/json', $encodedImageName));
|
||||||
$this->guzzleClient->get($imageUrl)->getBody()->getContents();
|
$this->guzzleClient->get($imageUrl)->getBody()->getContents();
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
throw new \Exception("Could not pull image " . $imageName . ". Please run 'sudo docker exec -it nextcloud-aio-mastercontainer docker pull " . $imageName . "' in order to find out why it failed.");
|
throw new \Exception("Could not pull image " . $imageName . ". Please run 'sudo docker exec -it nextcloud-aio-mastercontainer docker pull " . $imageName . "' in order to find out why it failed.");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue