summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/loader_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/boot/loader_test.go')
-rw-r--r--runsc/boot/loader_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/runsc/boot/loader_test.go b/runsc/boot/loader_test.go
index d5cee5608..0ed3002e0 100644
--- a/runsc/boot/loader_test.go
+++ b/runsc/boot/loader_test.go
@@ -406,7 +406,8 @@ func TestCreateMountNamespace(t *testing.T) {
root := mm.Root()
defer root.DecRef()
for _, p := range tc.expectedPaths {
- if d, err := mm.FindInode(ctx, root, root, p, 0); err != nil {
+ maxTraversals := uint(0)
+ if d, err := mm.FindInode(ctx, root, root, p, &maxTraversals); err != nil {
t.Errorf("expected path %v to exist with spec %v, but got error %v", p, tc.spec, err)
} else {
d.DecRef()