1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/client
Michael Crosby bbc38497b6 Zero out stats values in the cli
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>
2015-01-21 15:33:53 -08:00
..
cli.go Add ProxyFromEnvironment enables client via proxy. 2015-01-08 08:12:31 +01:00
commands.go Zero out stats values in the cli 2015-01-21 15:33:53 -08:00
hijack.go Use the official mime type that exists instead of an imaginary one that does not. 2015-01-09 20:24:54 -08:00
utils.go Fix range for go 1.3 2015-01-12 11:49:52 -08:00