mirror of https://github.com/ansible/ansible.git
Add support for legacy registries to pull_image().
Since we now have several exceptions to the assumption that the result of the pull would be on the last status line returned by docker-py's pull(), I've changed the function so that it looks through the status lines and returns what if finds on it. Despite the repeated `break`s, the code seems simpler and a little more coherent like this. From what I've checked using `https://github.com/jlafon/ansible-profile`, the execution time is mostly the same.reviewable/pr18780/r1
parent
eeaeeb5a1f
commit
3079c5e001
Loading…
Reference in New Issue