build: update dependencies

Also:

- dropbox: fix compile after API change in upstream library
This commit is contained in:
Nick Craig-Wood
2022-04-01 10:26:47 +01:00
parent a2bacd7d3f
commit 59c242bbf6
3 changed files with 168 additions and 211 deletions

View File

@@ -1784,7 +1784,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
entry, err = o.uploadChunked(ctx, in, commitInfo, size)
} else {
err = o.fs.pacer.CallNoRetry(func() (bool, error) {
entry, err = o.fs.srv.Upload(commitInfo, in)
entry, err = o.fs.srv.Upload(&files.UploadArg{CommitInfo: *commitInfo}, in)
return shouldRetry(ctx, err)
})
}