mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Fix ignored --time argument to podman restart
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
@ -73,7 +73,7 @@ func restartCmd(c *cliconfig.RestartValues) error {
|
||||
defer runtime.Shutdown(false)
|
||||
|
||||
timeout := c.Timeout
|
||||
useTimeout := c.Flag("timeout").Changed
|
||||
useTimeout := c.Flag("timeout").Changed || c.Flag("time").Changed
|
||||
|
||||
// Handle --latest
|
||||
if c.Latest {
|
||||
|
Reference in New Issue
Block a user