mirror of
https://github.com/containers/podman.git
synced 2025-08-23 17:22:30 +08:00

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>