Skip to content

Commit

Permalink
Merge pull request #16 from utopia-php/fix-run-warnings
Browse files Browse the repository at this point in the history
Fix: Warnings in run
  • Loading branch information
TorstenDittmann authored Mar 23, 2022
2 parents 67cf0ab + fa76c33 commit 6e5d160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Orchestration/Adapter/DockerCLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public function run(string $image,
(empty($command) ? "" : " ".implode(" ", $command))
, '', $stdout, $stderr, 30);

if (!empty($stderr) || $result !== 0) {
if ($result !== 0) {
throw new Orchestration("Docker Error: {$stderr}");
}

Expand Down

0 comments on commit 6e5d160

Please sign in to comment.