From c1081a9a54d44776b6e49661dfcc24c6734fcd32 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Sat, 2 Mar 2024 23:31:48 +0000 Subject: [PATCH] Replace `stop` `--timeout` with `--time` --- repo2podman/podman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo2podman/podman.py b/repo2podman/podman.py index d45dccb..c8d2a95 100644 --- a/repo2podman/podman.py +++ b/repo2podman/podman.py @@ -327,7 +327,7 @@ def remove(self): def stop(self, *, timeout=10): lines = exec_podman( - ["stop", "--timeout", str(timeout), self.id], + ["stop", "--time", str(timeout), self.id], capture="stdout", exe=self._podman_executable, )