This commit is contained in:
Felix Fontein 2025-10-21 06:45:20 +02:00
parent 08960a9317
commit 3b027236ac
7 changed files with 16 additions and 6 deletions

View File

@ -710,8 +710,8 @@ class ImageManager(DockerBaseClass):
self.client._get(
self.client._url("/images/{0}/get", image_name), stream=True
),
DEFAULT_DATA_CHUNK_SIZE,
False,
chunk_size=DEFAULT_DATA_CHUNK_SIZE,
decode=False,
)
except Exception as exc: # pylint: disable=broad-exception-caught
self.fail(f"Error getting image {image_name} - {exc}")

View File

@ -202,8 +202,8 @@ class ImageExportManager(DockerBaseClass):
self.client._get(
self.client._url("/images/{0}/get", image_names[0]), stream=True
),
DEFAULT_DATA_CHUNK_SIZE,
False,
chunk_size=DEFAULT_DATA_CHUNK_SIZE,
decode=False,
)
except Exception as exc: # pylint: disable=broad-exception-caught
self.fail(f"Error getting image {image_names[0]} - {exc}")
@ -216,8 +216,8 @@ class ImageExportManager(DockerBaseClass):
stream=True,
params={"names": image_names},
),
DEFAULT_DATA_CHUNK_SIZE,
False,
chunk_size=DEFAULT_DATA_CHUNK_SIZE,
decode=False,
)
except Exception as exc: # pylint: disable=broad-exception-caught
self.fail(f"Error getting images {image_names_str} - {exc}")

View File

@ -1 +1,3 @@
plugins/module_utils/_api/transport/sshconn.py no-assert
plugins/module_utils/_platform.py no-assert
plugins/modules/docker_container_copy_into.py validate-modules:undocumented-parameter # _max_file_size_for_diff is used by the action plugin

View File

@ -1 +1,3 @@
plugins/module_utils/_api/transport/sshconn.py no-assert
plugins/module_utils/_platform.py no-assert
plugins/modules/docker_container_copy_into.py validate-modules:undocumented-parameter # _max_file_size_for_diff is used by the action plugin

View File

@ -1 +1,3 @@
plugins/module_utils/_api/transport/sshconn.py no-assert
plugins/module_utils/_platform.py no-assert
plugins/modules/docker_container_copy_into.py validate-modules:undocumented-parameter # _max_file_size_for_diff is used by the action plugin

View File

@ -1 +1,3 @@
plugins/module_utils/_api/transport/sshconn.py no-assert
plugins/module_utils/_platform.py no-assert
plugins/modules/docker_container_copy_into.py validate-modules:undocumented-parameter # _max_file_size_for_diff is used by the action plugin

View File

@ -1 +1,3 @@
plugins/module_utils/_api/transport/sshconn.py no-assert
plugins/module_utils/_platform.py no-assert
plugins/modules/docker_container_copy_into.py validate-modules:undocumented-parameter # _max_file_size_for_diff is used by the action plugin