mirror of
https://github.com/containers/podman.git
synced 2025-09-18 07:51:22 +08:00

This reverts commit 5b148a0a68360892f57603b77e73c69e32fb7b7e. Reverting to treating the `pull` query parameter as a boolean. Because of deceiving Docker API documentation it was assumed that the parameter is pull-policy, however that is not true. Docker does treat `pull` as a boolean. What is interesting is that Docker indeed accepts strings like `always` or `never` however Docekr both of these strings treat as `true`, not as pull-policy. As matter of the fact it seems there is no such a thing as pull-policy in Docker. More context https://github.com/containers/podman/issues/17778#issuecomment-1673931925 Signed-off-by: Matej Vasek <mvasek@redhat.com>