Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
loks0n committed Jul 1, 2024
1 parent 0553d95 commit 582fc3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Orchestration/Adapter/DockerAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,10 @@ public function removeNetwork(string $name): bool

if ($result['code'] === 404) {
throw new Orchestration('Network with name "'.$name.'" does not exist: '.$result['response']);
} else if ($result['code'] !== 204) {
} elseif ($result['code'] !== 204) {
throw new Orchestration('Error removing network: '.$result['response']);
}

return true;
}

Expand Down

0 comments on commit 582fc3e

Please sign in to comment.