fs: Add context to fs.Features.Fill & fs.Features.Mask #3257 #4685

This commit is contained in:
Nick Craig-Wood
2020-11-09 18:05:54 +00:00
parent d69b96a94c
commit 8b96933e58
38 changed files with 48 additions and 48 deletions
+1 -1
View File
@@ -332,7 +332,7 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, e
// Can copy/move across mailru configs (almost, thus true here), but
// only when they share common account (this is checked in Copy/Move).
ServerSideAcrossConfigs: true,
}).Fill(f)
}).Fill(ctx, f)
// Override few config settings and create a client
clientConfig := *fs.Config