From 7131c847238a166f04c122c254487a9d53e29d71 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Fri, 1 Jul 2022 14:01:31 +0200 Subject: fix build PR containers/podman/pull/14449 had an outdated base. Merging it broke builds. [NO NEW TESTS NEEDED] Signed-off-by: Valentin Rothberg --- libpod/runtime_volume_linux.go | 2 +- test/testvol/util.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libpod/runtime_volume_linux.go b/libpod/runtime_volume_linux.go index 4fd4f7301..da8c3712d 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 7a0aeba86..b50bb3afb 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) } -- cgit v1.2.3-54-g00ecf