From 82b85431bd9315d698bf6f8586dc19da90194b52 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 30 Dec 2015 13:30:01 +0000 Subject: [PATCH] yandex: Make it use our http client so logging, bwlimit etc works properly --- yandex/yandex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yandex/yandex.go b/yandex/yandex.go index 4b279ee29..7f3a0ea93 100644 --- a/yandex/yandex.go +++ b/yandex/yandex.go @@ -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,