mirror of
https://github.com/rclone/rclone.git
synced 2025-08-14 07:49:00 +02:00
fichier: pass options to rest.Opts for uploadFile
This commit is contained in:
committed by
Nick Craig-Wood
parent
854c84d0ca
commit
fc946d0c44
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user