From 90639769f08f03abb1c917f4a15c5932ea1dfbc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Laurin=20H=C3=B6rmann?= Date: Sun, 24 May 2020 16:15:11 +0200 Subject: [PATCH] BUG: 'podman stop -t 360.0' called for float, expects int on cli --- podman_compose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman_compose.py b/podman_compose.py index 448be8f..00db8d0 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -1341,7 +1341,7 @@ def compose_run_parse(parser): def compose_parse_timeout(parser): parser.add_argument("-t", "--timeout", help="Specify a shutdown timeout in seconds. ", - type=float, default=10) + type=int, default=10) @cmd_parse(podman_compose, ['start', 'stop', 'restart']) def compose_parse_services(parser):