mirror of
https://github.com/rclone/rclone.git
synced 2025-06-25 06:23:03 +02: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…
x
Reference in New Issue
Block a user