Skip to content

Commit eeb9ea1

Browse files
authored
docs: change image.history() return type to list (#3202)
Fixes #3076. Signed-off-by: Khushiyant <khushiyant2002@gmail.com>
1 parent 08956b5 commit eeb9ea1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/api/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def history(self, image):
4747
image (str): The image to show history for
4848
4949
Returns:
50-
(str): The history of the image
50+
(list): The history of the image
5151
5252
Raises:
5353
:py:class:`docker.errors.APIError`

docker/models/images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def history(self):
5151
Show the history of an image.
5252
5353
Returns:
54-
(str): The history of the image.
54+
(list): The history of the image.
5555
5656
Raises:
5757
:py:class:`docker.errors.APIError`

0 commit comments

Comments
 (0)