Merge pull request #14449 from cdoern/podVolumes

podman volume create --opt=o=timeout...
This commit is contained in:
openshift-ci[bot]
2022-07-01 08:46:11 +00:00
committed by GitHub
12 changed files with 60 additions and 9 deletions

View File

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