saltstack/salt — pull request #16877 by jasonrm (2014-10-24 16:18:18+00:00)
Title: Fix salt-cloud list-images for DigitalOcean images

This should fix listing images (and vm creation) on DigitalOcean via v1 and v2 API .

Both versions were using the name property from DigitalOcean when it should have been using id. It's not possible to use slug as that can be Null.

Also, v2 was failing to detect additional pages due to a simple existence-check error.

Thanks to @xpender for realizing there was a uniqueness issue.

Fixes #16866