commit | ef82470d1605307cc0209f53698823f84bbcbf59 | [log] [tgz] |
---|---|---|
author | Kun Yi <kunyi731@gmail.com> | Wed Dec 04 18:58:20 2019 -0800 |
committer | Kun Yi <kunyi731@gmail.com> | Thu Dec 05 10:39:52 2019 -0800 |
tree | 9db2c65d4cac11805fc82cf468d46e9bbf39c05b | |
parent | 50cc956301d1d024354cfd5d84b19980a1a1643d [diff] |
Fix setting remaining time lower than minInterval When a minimum interval is specified, setting the remaining time should also honor the setting and keep the initial remaining time (initial countdown in IPMI terms) at a mimimal interval values. Tested: see next patch for unit tests Resolves: openbmc/phosphor-watchdog#1 Signed-off-by: Kun Yi <kunyi731@gmail.com> Change-Id: I1f5d244bb7b0985227344a3634e3b7c4da2624fc