vendor: update vendor containerd/aufs to commit ffa3997
Signed-off-by: Michael Wan <zirenwan@gmail.com>
This commit is contained in:
parent
55842b1713
commit
93d3f065ac
@ -85,4 +85,4 @@ github.com/mistifyio/go-zfs 166add352731e515512690329794ee593f1aaff2
|
|||||||
github.com/pborman/uuid c65b2f87fee37d1c7854c9164a450713c28d50cd
|
github.com/pborman/uuid c65b2f87fee37d1c7854c9164a450713c28d50cd
|
||||||
|
|
||||||
# aufs dependencies
|
# aufs dependencies
|
||||||
github.com/containerd/aufs a7fbd554da7a9eafbe5a460a421313a9fd18d988
|
github.com/containerd/aufs ffa39970e26ad01d81f540b21e65f9c1841a5f92
|
||||||
|
4
vendor/github.com/containerd/aufs/aufs.go
generated
vendored
4
vendor/github.com/containerd/aufs/aufs.go
generated
vendored
@ -117,7 +117,7 @@ func (o *snapshotter) Usage(ctx context.Context, key string) (snapshots.Usage, e
|
|||||||
t.Rollback() // transaction no longer needed at this point.
|
t.Rollback() // transaction no longer needed at this point.
|
||||||
|
|
||||||
if info.Kind == snapshots.KindActive {
|
if info.Kind == snapshots.KindActive {
|
||||||
du, err := fs.DiskUsage(upperPath)
|
du, err := fs.DiskUsage(ctx, upperPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// TODO(stevvooe): Consider not reporting an error in this case.
|
// TODO(stevvooe): Consider not reporting an error in this case.
|
||||||
return snapshots.Usage{}, err
|
return snapshots.Usage{}, err
|
||||||
@ -174,7 +174,7 @@ func (o *snapshotter) Commit(ctx context.Context, name, key string, opts ...snap
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
usage, err := fs.DiskUsage(o.upperPath(id))
|
usage, err := fs.DiskUsage(ctx, o.upperPath(id))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user