podman/pkg/util
Daniel J Walsh 5b28a2b4a0
Fix podman stop -t -1 CID
Currently if a user specifies a negative time to stop a container the
code ends up specifying the negative time to time.Duration which treats
it as 0. By settine the default to max.Unint32 we end up with a positive
number which indicates > 68 years which is probably close enough to
infinity for our use case.

Fixes: https://github.com/containers/podman/issues/21811

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-26 16:15:10 -05:00
..
camelcase Fix typos 2023-02-11 18:23:24 +01:00
filters.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
filters_test.go filters: use new FilterID function from c/common 2023-06-13 17:49:41 +02:00
kube.go Kube Play - allow creating image based volumes 2024-01-24 11:55:29 +02:00
mountOpts.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
mountOpts_linux.go Turn off 'noexec' option by default for named volumes 2020-05-20 16:48:20 -04:00
mountOpts_other.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
utils.go Fix podman stop -t -1 CID 2024-02-26 16:15:10 -05:00
utils_darwin.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
utils_freebsd.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
utils_linux.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
utils_linux_test.go Match VT device paths to be blocked from mounting exactly 2023-01-28 05:18:40 -05:00
utils_supported.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
utils_test.go Fix podman stop -t -1 CID 2024-02-26 16:15:10 -05:00
utils_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
utils_windows.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00