From d3fdfd85f45664b7b51145cad24c8fef3c6bff5c Mon Sep 17 00:00:00 2001 From: Stephen J Day Date: Tue, 28 Feb 2017 16:41:07 -0800 Subject: [PATCH] services/content: ignore io.EOF after successful commit Signed-off-by: Stephen J Day --- services/content/service.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/content/service.go b/services/content/service.go index 288adb0..a7e6bc2 100644 --- a/services/content/service.go +++ b/services/content/service.go @@ -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 } }