summaryrefslogtreecommitdiff
path: root/libpod/volume.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-24 09:35:57 -0400
committerGitHub <noreply@github.com>2022-08-24 09:35:57 -0400
commit0f92cf22a69876975ca6ad97a08751bf2008e257 (patch)
treec2d7c6316570b0d4e20350f8152e9b08ef66a36e /libpod/volume.go
parent67c4068bb35fd1aad95b1701c94ed11183d0fd66 (diff)
parent0f739355635d5bc4d538cf88009d7af533e7c289 (diff)
downloadpodman-0f92cf22a69876975ca6ad97a08751bf2008e257.tar.gz
podman-0f92cf22a69876975ca6ad97a08751bf2008e257.tar.bz2
podman-0f92cf22a69876975ca6ad97a08751bf2008e257.zip
Merge pull request #15437 from mheon/default_volume_timeout
Add support for containers.conf volume timeouts
Diffstat (limited to 'libpod/volume.go')
-rw-r--r--libpod/volume.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/volume.go b/libpod/volume.go
index 2e8cd77a5..a054e4032 100644
--- a/libpod/volume.go
+++ b/libpod/volume.go
@@ -56,7 +56,7 @@ type VolumeConfig struct {
// quota tracking.
DisableQuota bool `json:"disableQuota,omitempty"`
// Timeout allows users to override the default driver timeout of 5 seconds
- Timeout int
+ Timeout *uint `json:"timeout,omitempty"`
}
// VolumeState holds the volume's mutable state.