From ee150cfd194463ddfcb59898cfb0237e47777973 Mon Sep 17 00:00:00 2001 From: Cody Oss <6331106+codyoss@users.noreply.github.com> Date: Thu, 19 May 2022 09:52:19 -0600 Subject: [PATCH] fix(storage): remove field that no longer exists (#6061) --- storage/writer.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/storage/writer.go b/storage/writer.go index 4c22b0f1f215..27a95c318eba 100644 --- a/storage/writer.go +++ b/storage/writer.go @@ -456,17 +456,12 @@ func (w *Writer) openGRPC() error { // // This is an experimental API and not intended for public use. func (w *Writer) startResumableUpload() error { - var common *storagepb.CommonRequestParams - if w.o.userProject != "" { - common = &storagepb.CommonRequestParams{UserProject: w.o.userProject} - } spec, err := w.writeObjectSpec() if err != nil { return err } upres, err := w.o.c.gc.StartResumableWrite(w.ctx, &storagepb.StartResumableWriteRequest{ WriteObjectSpec: spec, - CommonRequestParams: common, }) w.upid = upres.GetUploadId()