@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | $config = $this->docker->imageInspect($imageName)->getConfig(); |
| 68 | 68 | } |
| 69 | 69 | if ($config === null) { |
| 70 | - throw new AenthillException('Cannot inspect container '.$imageName.'. Missing config key.'); |
|
| 70 | + throw new AenthillException('Cannot inspect container ' . $imageName . '. Missing config key.'); |
|
| 71 | 71 | } |
| 72 | 72 | return $config; |
| 73 | 73 | } |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | 'fromImage' => $imageName |
| 89 | 89 | ]); |
| 90 | 90 | |
| 91 | - $result->onFrame(function (CreateImageInfo $frame) { |
|
| 91 | + $result->onFrame(function(CreateImageInfo $frame) { |
|
| 92 | 92 | $this->logger->info($frame->getStatus()); |
| 93 | 93 | }); |
| 94 | 94 | $result->wait(); |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | try { |
| 17 | 17 | $imageService->rmi('busybox:1.29.2'); |
| 18 | - } catch(ImageDeleteNotFoundException $e) { |
|
| 18 | + } catch (ImageDeleteNotFoundException $e) { |
|
| 19 | 19 | // Try to delete. If this fails, it's ok. |
| 20 | 20 | } |
| 21 | 21 | |