diff --git a/docker/api/container.py b/docker/api/container.py index 9a25b2148..fef760300 100644 --- a/docker/api/container.py +++ b/docker/api/container.py @@ -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` diff --git a/docker/models/containers.py b/docker/models/containers.py index f451cf3fe..2eeefda1e 100644 --- a/docker/models/containers.py +++ b/docker/models/containers.py @@ -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`