mirror of
https://github.com/rclone/rclone
synced 2025-01-11 14:26:24 +01:00
yandex: Make it use our http client so logging, bwlimit etc works properly
This commit is contained in:
parent
98778b1870
commit
82b85431bd
@ -118,7 +118,7 @@ func NewFs(name, root string) (fs.Fs, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//create new client
|
//create new client
|
||||||
yandexDisk := yandex.NewClient(token.AccessToken)
|
yandexDisk := yandex.NewClient(token.AccessToken, fs.Config.Client())
|
||||||
|
|
||||||
f := &Fs{
|
f := &Fs{
|
||||||
yd: yandexDisk,
|
yd: yandexDisk,
|
||||||
|
Loading…
Reference in New Issue
Block a user