community.general/lib/ansible/modules/cloud/openstack
John Batty dd78dde449 Fix get_flavor_id() when flavor_ram is specified
Without this fix, _get_flavor_id() fails to find a matching flavor if
both:
* the flavor_ram parameter is specified
* the first flavor in the list does not match.

The bug is simply that the module.fail_json() call lies within the loop
iterating through the flavors.  This call should only be made if the
loop completes and no matching flavors have been found.
2016-12-08 11:22:26 -05:00
..
__init__.py
glance_image.py
keystone_user.py
nova_compute.py Fix get_flavor_id() when flavor_ram is specified 2016-12-08 11:22:26 -05:00
nova_keypair.py
quantum_floating_ip.py
quantum_floating_ip_associate.py
quantum_network.py
quantum_router.py
quantum_router_gateway.py
quantum_router_interface.py
quantum_subnet.py