1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib
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
..
fog Fix autoincrement when creating a flavor if private flavors exist. 2013-06-18 17:58:07 +02:00
tasks Revert "Updated gem spec to require json rather than multi_json" 2013-05-06 04:05:36 -07:00
fog.rb [openvz|compute] Initial commit 2013-05-29 16:09:41 +02:00