Skip to content

Commit 1a34340

Browse files
committed
Add compatMode raw JSON output and fix tls_verify init on pull()
Signed-off-by: Antonio <[email protected]>
1 parent 8cab9d8 commit 1a34340

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

podman/domain/images_manager.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ def pull(
324324
auth_config (Mapping[str, str]) – Override the credentials that are found in the
325325
config for this request. auth_config should contain the username and password
326326
keys to be valid.
327+
compatMode (bool) – Return the same JSON payload as the Docker-compat endpoint.
328+
Default: True.
327329
decode (bool) – Decode the JSON data from the server into dicts.
328330
Only applies with ``stream=True``
329331
platform (str) – Platform in the format os[/arch[/variant]]
@@ -357,7 +359,8 @@ def pull(
357359

358360
params = {
359361
"reference": repository,
360-
"tlsVerify": kwargs.get("tls_verify"),
362+
"tlsVerify": kwargs.get("tls_verify", True),
363+
"compatMode": kwargs.get("compatMode", True),
361364
}
362365

363366
if all_tags:

0 commit comments

Comments
 (0)