Merge pull request #14799 from vrothberg/fix-build

fix build
This commit is contained in:
openshift-ci[bot]
2022-07-01 14:42:03 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)
}