diff --git a/libpod/runtime_volume_linux.go b/libpod/runtime_volume_linux.go index 4fd4f7301e..da8c3712dd 100644 --- a/libpod/runtime_volume_linux.go +++ b/libpod/runtime_volume_linux.go @@ -183,7 +183,7 @@ func (r *Runtime) UpdateVolumePlugins(ctx context.Context) *define.VolumeReload ) for driverName, socket := range r.config.Engine.VolumePlugins { - driver, err := volplugin.GetVolumePlugin(driverName, socket) + driver, err := volplugin.GetVolumePlugin(driverName, socket, 0) if err != nil { errs = append(errs, err) continue diff --git a/test/testvol/util.go b/test/testvol/util.go index 7a0aeba86c..b50bb3afb2 100644 --- a/test/testvol/util.go +++ b/test/testvol/util.go @@ -25,5 +25,5 @@ func getPluginName(pathOrName string) string { func getPlugin(sockNameOrPath string) (*plugin.VolumePlugin, error) { path := getSocketPath(sockNameOrPath) name := getPluginName(sockNameOrPath) - return plugin.GetVolumePlugin(name, path) + return plugin.GetVolumePlugin(name, path, 0) }