mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
@ -183,7 +183,7 @@ func (r *Runtime) UpdateVolumePlugins(ctx context.Context) *define.VolumeReload
|
|||||||
)
|
)
|
||||||
|
|
||||||
for driverName, socket := range r.config.Engine.VolumePlugins {
|
for driverName, socket := range r.config.Engine.VolumePlugins {
|
||||||
driver, err := volplugin.GetVolumePlugin(driverName, socket)
|
driver, err := volplugin.GetVolumePlugin(driverName, socket, 0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errs = append(errs, err)
|
errs = append(errs, err)
|
||||||
continue
|
continue
|
||||||
|
@ -25,5 +25,5 @@ func getPluginName(pathOrName string) string {
|
|||||||
func getPlugin(sockNameOrPath string) (*plugin.VolumePlugin, error) {
|
func getPlugin(sockNameOrPath string) (*plugin.VolumePlugin, error) {
|
||||||
path := getSocketPath(sockNameOrPath)
|
path := getSocketPath(sockNameOrPath)
|
||||||
name := getPluginName(sockNameOrPath)
|
name := getPluginName(sockNameOrPath)
|
||||||
return plugin.GetVolumePlugin(name, path)
|
return plugin.GetVolumePlugin(name, path, 0)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user