Merge pull request #585 from stevvooe/content-service-ignore-eof

services/content: ignore io.EOF after successful commit
This commit is contained in:
Derek McGowan 2017-03-01 10:14:56 -08:00 committed by GitHub
commit 95a5758641

View file

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