aboutsummaryrefslogtreecommitdiff
path: root/libpod/boltdb_state_internal.go
diff options
context:
space:
mode:
authorcdoern <cdoern@redhat.com>2022-06-01 16:02:39 -0400
committercdoern <cdoern@redhat.com>2022-06-09 16:44:21 -0400
commit7b3e43c1f6cf27a1cde96c0f650a793a56cebc4c (patch)
tree0b460b5067c72f31999399bd3eb83bce8268dfdb /libpod/boltdb_state_internal.go
parentf808907d85204a2a5606067eb31400aa12233635 (diff)
downloadpodman-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.go2
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