mirror of
https://github.com/containers/podman.git
synced 2025-10-15 02:06:42 +08:00
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>
This commit is contained in:
@ -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
|
||||
|
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user