mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
fshttp: read config from ctx not passed in ConfigInfo #4685
This commit is contained in:
@@ -172,7 +172,7 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, e
|
||||
return nil, err
|
||||
}
|
||||
|
||||
client := fshttp.NewClient(fs.GetConfig(ctx))
|
||||
client := fshttp.NewClient(ctx)
|
||||
|
||||
var isFile = false
|
||||
if !strings.HasSuffix(u.String(), "/") {
|
||||
|
||||
Reference in New Issue
Block a user