1
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:
Nick Craig-Wood 2015-12-30 13:30:01 +00:00
parent 98778b1870
commit 82b85431bd

View File

@ -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,