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

This commit is contained in:
Nick Craig-Wood 2020-11-05 16:00:40 +00:00
parent d69b96a94c
commit 8b96933e58
38 changed files with 48 additions and 48 deletions

View file

@ -448,7 +448,7 @@ func NewFsWithConnection(ctx context.Context, opt *Options, name, root string, c
BucketBased: true,
BucketBasedRootOK: true,
SlowModTime: true,
}).Fill(f)
}).Fill(ctx, f)
if f.rootContainer != "" && f.rootDirectory != "" {
// Check to see if the object exists - ignoring directory markers
var info swift.Object