Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/api/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ def top(self, container, ps_args=None):
ps_args (str): An optional arguments passed to ps (e.g. ``aux``)

Returns:
(str): The output of the top
(dict): The output of the top

Raises:
:py:class:`docker.errors.APIError`
Expand Down
2 changes: 1 addition & 1 deletion docker/models/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def top(self, **kwargs):
ps_args (str): An optional arguments passed to ps (e.g. ``aux``)

Returns:
(str): The output of the top
(dict): The output of the top

Raises:
:py:class:`docker.errors.APIError`
Expand Down