mirror of
https://github.com/containers/podman.git
synced 2025-08-23 09:18:19 +08:00

The standard Docker client passes "1" for pull query parameter. This means our compat endpoint has to work with this. The endpoint was recently modified to accept pull-policy however this is not how Docker actually work. Docker actually treats `pull` as boolean. For sake of compatibility I decide to preserve pull-policy parsing too. We can consider this podman's extension. I should not affect standard clients. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2232127 Signed-off-by: Matej Vasek <mvasek@redhat.com> Signed-off-by: Paul Holzinger <pholzing@redhat.com>