mirror of https://github.com/docker/docker-py.git
Updated stat networks print output Signed-off-by: Tim Marcinowski <marshyski@gmail.com>
This commit is contained in:
parent
4e67d4d9bf
commit
d7af8d79a4
|
|
@ -947,7 +947,7 @@ This will stream statistics for a specific container.
|
|||
>>> stats_obj = cli.stats('elasticsearch')
|
||||
>>> for stat in stats_obj:
|
||||
>>> print(stat)
|
||||
{"read":"2015-02-11T21:47:30.49388286+02:00","network":{"rx_bytes":666052,"rx_packets":4409 ...
|
||||
{"read":"2015-02-11T21:47:30.49388286+02:00","networks":{"eth0":{"rx_bytes":648,"rx_packets":8 ...
|
||||
...
|
||||
...
|
||||
...
|
||||
|
|
|
|||
Loading…
Reference in New Issue