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
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
compute.rb
identity.rb
image.rb
network.rb
storage.rb
volume.rb