Skip to content

Commit

Permalink
Implemented compatMode raw JSON output and fix tls_verify init on pull()
Browse files Browse the repository at this point in the history
Signed-off-by: D3vil0p3r <vozaanthony@gmail.com>
  • Loading branch information
D3vil0p3r committed Jan 7, 2025
1 parent 77d66f8 commit 3e19560
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion podman/domain/images_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ def pull(
auth_config (Mapping[str, str]) – Override the credentials that are found in the
config for this request. auth_config should contain the username and password
keys to be valid.
compatMode (bool) – Return the same JSON payload as the Docker-compat endpoint.
Default: True.
platform (str) – Platform in the format os[/arch[/variant]]
progress_bar (bool) - Display a progress bar with the image pull progress (uses
the compat endpoint). Default: False
Expand Down Expand Up @@ -354,7 +356,8 @@ def pull(

params = {
"reference": repository,
"tlsVerify": kwargs.get("tls_verify"),
"tlsVerify": kwargs.get("tls_verify", True),
"compatMode": kwargs.get("compatMode", True),
}

if all_tags:
Expand Down

0 comments on commit 3e19560

Please sign in to comment.