1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

fichier: pass options to rest.Opts for uploadFile

This commit is contained in:
Tim Gallant
2020-03-21 15:11:02 -07:00
committed by Nick Craig-Wood
parent 854c84d0ca
commit fc946d0c44
2 changed files with 3 additions and 2 deletions

View File

@@ -338,7 +338,7 @@ func (f *Fs) putUnchecked(ctx context.Context, in io.Reader, remote string, size
return nil, err
}
_, err = f.uploadFile(ctx, in, size, leaf, directoryID, nodeResponse.ID, nodeResponse.URL)
_, err = f.uploadFile(ctx, in, size, leaf, directoryID, nodeResponse.ID, nodeResponse.URL, options...)
if err != nil {
return nil, err
}