moby--moby/pkg/stdcopy
Drew Erny f19b0d72d1 fix docker logs error handling
Previously, `docker logs` (and by extension, `docker service logs`) had
an error in the way they returned errors that occurred after a stream
had already been started. Specifically, the errors were added verbatim
to the HTTP response, which caused StdCopy to fail with an esoteric
error. This change updates StdCopy to accept errors from the source
stream and then return those errors when copying to the destination
stream.

Signed-off-by: Drew Erny <drew.erny@docker.com>
2017-02-14 14:38:42 -08:00
..
stdcopy.go fix docker logs error handling 2017-02-14 14:38:42 -08:00
stdcopy_test.go fix docker logs error handling 2017-02-14 14:38:42 -08:00