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.
Coverage remained the same at 89.806% when pulling ba2af697f6418726bdd78e28c5ddeaab2919f917 on evadot:fix_delete_limit into ab3f6adce10f1342bc669ad6add125ac8526ca3b on Gandi:master.
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