fix(storage): remove field that no longer exists (#6061) · googleapis/google-cloud-go@ee150cf

Original file line numberDiff line numberDiff line change

@@ -456,17 +456,12 @@ func (w *Writer) openGRPC() error {

456456

//

457457

// This is an experimental API and not intended for public use.

458458

func (w *Writer) startResumableUpload() error {

459-

var common *storagepb.CommonRequestParams

460-

if w.o.userProject != "" {

461-

common = &storagepb.CommonRequestParams{UserProject: w.o.userProject}

462-

}

463459

spec, err := w.writeObjectSpec()

464460

if err != nil {

465461

return err

466462

}

467463

upres, err := w.o.c.gc.StartResumableWrite(w.ctx, &storagepb.StartResumableWriteRequest{

468464

WriteObjectSpec: spec,

469-

CommonRequestParams: common,

470465

})

471466
472467

w.upid = upres.GetUploadId()