denibertovic / docker-hs

A Haskell library for the Docker Engine API
BSD 3-Clause "New" or "Revised" License
76 stars 48 forks source link

Request unit fix #44

Closed SKoschnicke closed 7 years ago

SKoschnicke commented 7 years ago

Fixed the test which started failing because @jprider63 fixed a bug in the requestUnit method.

Trying to kill a container which is not running leads to a "409 Conflict" error from the docker API. The container in the test should have already stopped, no need to kill it. The bug in the requestUnit method prevented the test from failing before.

denibertovic commented 7 years ago

@SKoschnicke Thanks! I cherry picked your commit from your fork cause this PR had merge conflict issue. Anyway it's in master so I'm closing this.