Index: storage/object.go diff --git a/storage/object.go b/storage/object.go index fe4d37da12ecd87df85da2ff0297268c73701dac..37bdeb1467a8ecba739cbf153127054c5dda57a9 100644 --- a/storage/object.go +++ b/storage/object.go @@ -214,7 +214,6 @@ func (c *contentTyper) ContentType() string { func newObjectWriter(conn *conn, info *Object) *ObjectWriter { w := &ObjectWriter{ conn: conn, - info: info, done: make(chan bool), } pr, pw := io.Pipe() @@ -236,7 +235,6 @@ func newObjectWriter(conn *conn, info *Object) *ObjectWriter { // to update the metadata and file contents of a GCS object. type ObjectWriter struct { conn *conn - info *Object rc io.ReadCloser pw *io.PipeWriter