BUG: 'podman stop -t 360.0' called for float, expects int on cli

This commit is contained in:
Johannes Laurin Hörmann 2020-05-24 16:15:11 +02:00 committed by Muayyad Alsadi
parent 3712b545a9
commit 90639769f0

View File

@ -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):