diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-02-27 17:22:34 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-02-27 17:22:34 -0500 |
commit | 37f447d78ec88267f81c6eb3843a63bf9f36e268 (patch) | |
tree | 300e5999e2e682ba9dc83c5719d75521d79e5834 /cmd | |
parent | 3ba2af90ae4cafd199c0c16b66029db1f62868c2 (diff) | |
download | podman-37f447d78ec88267f81c6eb3843a63bf9f36e268.tar.gz podman-37f447d78ec88267f81c6eb3843a63bf9f36e268.tar.bz2 podman-37f447d78ec88267f81c6eb3843a63bf9f36e268.zip |
Fix ignored --time argument to podman restart
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/restart.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/restart.go b/cmd/podman/restart.go index 2bebde4f9..5aa12070e 100644 --- a/cmd/podman/restart.go +++ b/cmd/podman/restart.go @@ -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 { |