Gandi / gandi.cli

⚠ ARCHIVED - Command line interface to Gandi.net products using the public API
http://cli.gandi.net/
GNU General Public License v3.0
347 stars 62 forks source link

vm: delete: Fix delete when we reach the list limit #214

Closed evadot closed 7 years ago

evadot commented 7 years ago

If we try to delete a vm that isn't present in the default limit of gandi.iaas.list, the script fails. Instead of falling back to none when iterating on the list, fallback to gandi.iaas.info The resource have already been checked so we know that we will have a right object.

Signed-off-by: Emmanuel Vadot emmanuel.vadot@gandi.net

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 89.806% when pulling ba2af697f6418726bdd78e28c5ddeaab2919f917 on evadot:fix_delete_limit into ab3f6adce10f1342bc669ad6add125ac8526ca3b on Gandi:master.