diff options
author | cdoern <cdoern@redhat.com> | 2022-06-01 16:02:39 -0400 |
---|---|---|
committer | cdoern <cdoern@redhat.com> | 2022-06-09 16:44:21 -0400 |
commit | 7b3e43c1f6cf27a1cde96c0f650a793a56cebc4c (patch) | |
tree | 0b460b5067c72f31999399bd3eb83bce8268dfdb /libpod/boltdb_state_internal.go | |
parent | f808907d85204a2a5606067eb31400aa12233635 (diff) | |
download | podman-7b3e43c1f6cf27a1cde96c0f650a793a56cebc4c.tar.gz podman-7b3e43c1f6cf27a1cde96c0f650a793a56cebc4c.tar.bz2 podman-7b3e43c1f6cf27a1cde96c0f650a793a56cebc4c.zip |
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>
Diffstat (limited to 'libpod/boltdb_state_internal.go')
-rw-r--r-- | libpod/boltdb_state_internal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/boltdb_state_internal.go b/libpod/boltdb_state_internal.go index d6f035af9..9dc333ef9 100644 --- a/libpod/boltdb_state_internal.go +++ b/libpod/boltdb_state_internal.go @@ -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 |