summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-07-01 14:01:31 +0200
committerValentin Rothberg <vrothberg@redhat.com>2022-07-01 14:20:31 +0200
commit7131c847238a166f04c122c254487a9d53e29d71 (patch)
tree1485118efa66676abfae34f67aea7f783f8765a9
parent7688c5ac63ae33e3caa7fe00b122f95bf60abdd5 (diff)
downloadpodman-7131c847238a166f04c122c254487a9d53e29d71.tar.gz
podman-7131c847238a166f04c122c254487a9d53e29d71.tar.bz2
podman-7131c847238a166f04c122c254487a9d53e29d71.zip
fix build
PR containers/podman/pull/14449 had an outdated base. Merging it broke builds. [NO NEW TESTS NEEDED] Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
-rw-r--r--libpod/runtime_volume_linux.go2
-rw-r--r--test/testvol/util.go2
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)
}