mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Merge pull request #14449 from cdoern/podVolumes
podman volume create --opt=o=timeout...
This commit is contained in:
@ -59,7 +59,7 @@ func (r *Runtime) newVolume(noCreatePluginVolume bool, options ...VolumeCreateOp
|
||||
|
||||
// Plugin can be nil if driver is local, but that's OK - superfluous
|
||||
// assignment doesn't hurt much.
|
||||
plugin, err := r.getVolumePlugin(volume.config.Driver)
|
||||
plugin, err := r.getVolumePlugin(volume.config)
|
||||
if err != nil {
|
||||
return nil, errors.Wrapf(err, "volume %s uses volume plugin %s but it could not be retrieved", volume.config.Name, volume.config.Driver)
|
||||
}
|
||||
|
Reference in New Issue
Block a user