mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
bbc38497b6
Based on some feedback, when you have a container via the cli that you are monitoring for stats, if you stop the container it will stay in the display but report the last datapoint that was received. This PR changes the display to zero out the values for containers where an update has not been received within a specified duration, i.e. 2 seconds. This signals the user that the container has stopped as it reports cpu and memory usage of 0. Signed-off-by: Michael Crosby <crosbymichael@gmail.com> |
||
---|---|---|
.. | ||
cli.go | ||
commands.go | ||
hijack.go | ||
utils.go |