mirror of
https://github.com/containers/podman.git
synced 2025-07-01 00:01:02 +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:
@ -63,6 +63,7 @@ func (v *Volume) Inspect() (*define.InspectVolumeData, error) {
|
||||
data.MountCount = v.state.MountCount
|
||||
data.NeedsCopyUp = v.state.NeedsCopyUp
|
||||
data.NeedsChown = v.state.NeedsChown
|
||||
data.Timeout = v.config.Timeout
|
||||
|
||||
return data, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user