1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/openstack
Thomas Kadauke b00761705a Fix autoincrement when creating a flavor if private flavors exist.
Before, only public flavors were considered when finding the next free ID. That could lead to the case where the calculated ID was already taken which lead to a conflict. This happened whenever the user tried to create a private flavor via fog and then another (private OR public) flavor afterwards. Now, we also take private flavors into account, so the conflict cannot happen anymore.

As a side effect, it is now also possible to just return all private flavors, using the :is_public => false filter on the list_flavors_detail API call or the flavors collection.
2013-06-18 17:58:07 +02:00
..
examples [openstack|network] added network/subnet/router related example 2013-04-04 19:17:05 +02:00
models Fix autoincrement when creating a flavor if private flavors exist. 2013-06-18 17:58:07 +02:00
requests Fix autoincrement when creating a flavor if private flavors exist. 2013-06-18 17:58:07 +02:00
CHANGELOG.md Fix CHANGELOG fog version for digitalocean, xenserver and openstack 2013-04-05 20:29:15 +02:00
compute.rb Merge pull request #1786 from ceraslabs/release_address 2013-06-10 18:24:37 -07:00
identity.rb Revert "Updated gem spec to require json rather than multi_json" 2013-05-06 04:05:36 -07:00
image.rb Revert "Updated gem spec to require json rather than multi_json" 2013-05-06 04:05:36 -07:00
network.rb [openstack|network] Add support for OpenStack Networking LBaaS extension 2013-05-21 14:41:31 +02:00
storage.rb [openstack|storage] added missing mocks 2013-03-05 18:59:46 +01:00
volume.rb Revert "Updated gem spec to require json rather than multi_json" 2013-05-06 04:05:36 -07:00