summaryrefslogtreecommitdiff
path: root/cmd/podman/spec_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/spec_test.go')
-rw-r--r--cmd/podman/spec_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/spec_test.go b/cmd/podman/spec_test.go
index 768b079aa..1e1064df9 100644
--- a/cmd/podman/spec_test.go
+++ b/cmd/podman/spec_test.go
@@ -18,7 +18,7 @@ func TestCreateConfig_GetVolumeMounts(t *testing.T) {
config := createConfig{
Volumes: []string{"foobar:/foobar:ro"},
}
- specMount, err := config.GetVolumeMounts()
+ specMount, err := config.GetVolumeMounts([]spec.Mount{})
assert.NoError(t, err)
assert.True(t, reflect.DeepEqual(data, specMount[0]))
}