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
yandexDisk := yandex.NewClient(token.AccessToken)
yandexDisk := yandex.NewClient(token.AccessToken, fs.Config.Client())
f := &Fs{
yd: yandexDisk,