forked from TrueCloudLab/frostfs-http-gw
neofs: drop PrepareObjectOnsite option
It's using NeoFS node internal packages which shouldn't ever be used in gate code, it's not adding any value to the code we have (standard api-go interfaces work fine).
This commit is contained in:
parent
b020cd6652
commit
464a0134bd
4 changed files with 24 additions and 162 deletions
|
@ -111,7 +111,6 @@ func (u *Uploader) Upload(c *fasthttp.RequestCtx) {
|
|||
putOpts.BearerToken = bt
|
||||
putOpts.ContainerID = cid
|
||||
putOpts.OwnerID = oid
|
||||
putOpts.PrepareObjectOnsite = false
|
||||
putOpts.Reader = file
|
||||
if addr, err = u.plant.Object().Put(c, putOpts); err != nil {
|
||||
log.Error("could not store file in neofs", zap.Error(err))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue