mirror of https://github.com/docker/docker-py.git
docs: change image.history() return type to list (#3076)
Signed-off-by: Khushiyant <khushiyant2002@gmail.com>
This commit is contained in:
parent
7d8a161b12
commit
94a7f3e505
|
|
@ -47,7 +47,7 @@ class ImageApiMixin:
|
||||||
image (str): The image to show history for
|
image (str): The image to show history for
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
(str): The history of the image
|
(list): The history of the image
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
:py:class:`docker.errors.APIError`
|
:py:class:`docker.errors.APIError`
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ class Image(Model):
|
||||||
Show the history of an image.
|
Show the history of an image.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
(str): The history of the image.
|
(list): The history of the image.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
:py:class:`docker.errors.APIError`
|
:py:class:`docker.errors.APIError`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue