Merge pull request #570 from stevvooe/close-writer

content: close writer after opening
This commit is contained in:
Michael Crosby
2017-02-24 16:28:25 -08:00
committed by GitHub

View File

@@ -26,6 +26,7 @@ func WriteBlob(ctx context.Context, cs Ingester, ref string, r io.Reader, size i
return nil // all ready present
}
defer cw.Close()
ws, err := cw.Status()
if err != nil {