Skip to content

Commit cf0199b

Browse files
committed
Merge pull request #533 from ynachiket/master
Fixed stats related typo in api.md
2 parents 70ce156 + 10f6eaf commit cf0199b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ This will stream statistics for a specific container.
725725
>>> from docker import Client
726726
>>> cli = Client(base_url='tcp://127.0.0.1:2375')
727727
>>> stats_obj = cli.stats('elasticsearch')
728-
>>> for stat in stats:
728+
>>> for stat in stats_obj:
729729
>>> print(stat)
730730
{"read":"2015-02-11T21:47:30.49388286+02:00","network":{"rx_bytes":666052,"rx_packets":4409 ...
731731
...

0 commit comments

Comments
 (0)