mirror of
https://github.com/containers/podman.git
synced 2025-07-03 17:27:18 +08:00
podman volume create --opt=o=timeout...
add an option to configure the driver timeout when creating a volume. The default is 5 seconds but this value is too small for some custom drivers. Signed-off-by: cdoern <cdoern@redhat.com>
This commit is contained in:
@ -508,7 +508,7 @@ func (s *BoltState) getVolumeFromDB(name []byte, volume *Volume, volBkt *bolt.Bu
|
||||
|
||||
// Retrieve volume driver
|
||||
if volume.UsesVolumeDriver() {
|
||||
plugin, err := s.runtime.getVolumePlugin(volume.config.Driver)
|
||||
plugin, err := s.runtime.getVolumePlugin(volume.config)
|
||||
if err != nil {
|
||||
// We want to fail gracefully here, to ensure that we
|
||||
// can still remove volumes even if their plugin is
|
||||
|
Reference in New Issue
Block a user