services/content: ignore io.EOF after successful commit

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day 2017-02-28 16:41:07 -08:00
parent 317b884110
commit d3fdfd85f4
No known key found for this signature in database
GPG key ID: 67B3DED84EDC823F

View file

@ -310,6 +310,10 @@ func (s *Service) Write(session api.Content_WriteServer) (err error) {
req, err = session.Recv() req, err = session.Recv()
if err != nil { if err != nil {
if err == io.EOF {
return nil
}
return err return err
} }
} }