*: use client.Object where appropriate

It's enough to do the job, we don't really need full client.Client interface
here.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
Roman Khimov 2021-06-11 11:54:00 +03:00
parent b1e16c4b85
commit e177e1c9ae
2 changed files with 4 additions and 4 deletions

View file

@ -43,7 +43,7 @@ func (u *Uploader) Upload(c *fasthttp.RequestCtx) {
err error
file MultipartFile
obj *object.ID
conn client.Client
conn client.Object
tkn *session.Token
addr = object.NewAddress()
cid = cid.New()