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