Kaydet (Commit) 10f6eafb authored tarafından ynachiket's avatar ynachiket

Fixed stats related typo in api.md

üst 70ce156e
......@@ -725,7 +725,7 @@ This will stream statistics for a specific container.
>>> from docker import Client
>>> cli = Client(base_url='tcp://127.0.0.1:2375')
>>> stats_obj = cli.stats('elasticsearch')
>>> for stat in stats:
>>> for stat in stats_obj:
>>> print(stat)
{"read":"2015-02-11T21:47:30.49388286+02:00","network":{"rx_bytes":666052,"rx_packets":4409 ...
...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment