Skip to content

Commit cf0c3e9

Browse files
committed
fix ut
Signed-off-by: Yifan Yuan <tuji.yyf@alibaba-inc.com>
1 parent e2bae7f commit cf0c3e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/snapshot/overlay_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import (
2828
func newSnapshotterWithOpts(opts ...Opt) testsuite.SnapshotterFunc {
2929
return func(ctx context.Context, root string) (snapshots.Snapshotter, func() error, error) {
3030
cfg := DefaultBootConfig()
31+
cfg.Root = root
3132
snapshotter, err := NewSnapshotter(cfg, opts...)
3233
if err != nil {
3334
return nil, nil, err

0 commit comments

Comments
 (0)