Skip to content

Commit

Permalink
api: update return type of diff method (#3115)
Browse files Browse the repository at this point in the history
Signed-off-by: John Yang <john.yang20@berkeley.edu>
  • Loading branch information
john-b-yang authored May 5, 2023
1 parent 3178c8d commit 576e47a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker/api/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,8 @@ def diff(self, container):
container (str): The container to diff
Returns:
(str)
(list) A list of dictionaries containing the attributes `Path`
and `Kind`.
Raises:
:py:class:`docker.errors.APIError`
Expand Down
3 changes: 2 additions & 1 deletion docker/models/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ def diff(self):
Inspect changes on a container's filesystem.
Returns:
(str)
(list) A list of dictionaries containing the attributes `Path`
and `Kind`.
Raises:
:py:class:`docker.errors.APIError`
Expand Down

0 comments on commit 576e47a

Please sign in to comment.