summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-07-01 14:42:03 +0000
committerGitHub <noreply@github.com>2022-07-01 14:42:03 +0000
commitb00e65aa9c071428579a55f91a92f3702765ed85 (patch)
tree78e38666c85ebc80627caddee6a96aa7867c668b
parent21cd3b2ed270c7396157c4a85457842804d29a00 (diff)
parent7131c847238a166f04c122c254487a9d53e29d71 (diff)
downloadpodman-b00e65aa9c071428579a55f91a92f3702765ed85.tar.gz
podman-b00e65aa9c071428579a55f91a92f3702765ed85.tar.bz2
podman-b00e65aa9c071428579a55f91a92f3702765ed85.zip
Merge pull request #14799 from vrothberg/fix-build
fix build
-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)
}