You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/cloud
Adam Williamson 64b8596250 fix #2043: strip empty dict from end of 'pull' stream
When pulling an image using Docker 1.8, it seems the output
JSON stream has an empty dict at the very end. This causes
ansible to fail when pulling an image, as it's expecting a
status message in that dict which it uses to determine whether
it had to download the image or not. As a bit of an ugly hack
for that which remains backward compatible, try the last item
in the stream, and if it's an empty dict, take the last-but-one
item instead.

The strip() is needed as the exact value appears to be '{}/r/n';
we could just match that, but it seems like the kind of thing
where maybe it'd happen to just be '{}/n' or '{}' or something
in some cases, so let's just use strip() in case.
10 years ago
..
amazon Merge pull request #2248 from Constantin07/devel 10 years ago
azure ensure password or ssh cert specified 11 years ago
digital_ocean Fixed bug, when MX records pointed to ORIGIN(@) caused unintentional change of random A record. 11 years ago
docker fix #2043: strip empty dict from end of 'pull' stream 10 years ago
google Delete dead and broken code 11 years ago
linode Updating cloud modules with proper github author information 11 years ago
openstack doc fixes 10 years ago
rackspace added version added to new rax_cdb choices 10 years ago
vmware Merge pull request #1757 from gutoandreollo/devel 10 years ago
__init__.py package files 11 years ago