From 7b3e43c1f6cf27a1cde96c0f650a793a56cebc4c Mon Sep 17 00:00:00 2001 From: cdoern Date: Wed, 1 Jun 2022 16:02:39 -0400 Subject: 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 --- libpod/define/volume_inspect.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpod/define/volume_inspect.go') diff --git a/libpod/define/volume_inspect.go b/libpod/define/volume_inspect.go index fac179176..4b91c3ece 100644 --- a/libpod/define/volume_inspect.go +++ b/libpod/define/volume_inspect.go @@ -56,4 +56,6 @@ type InspectVolumeData struct { // a container, the container will chown the volume to the container process // UID/GID. NeedsChown bool `json:"NeedsChown,omitempty"` + // Timeout is the specified driver timeout if given + Timeout int `json:"Timeout,omitempty"` } -- cgit v1.2.3-54-g00ecf