diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-09-04 14:16:17 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-09-04 14:55:11 -0700 |
| commit | 15e266ce2b9100f3fd8f98230b9ffab9adb163f4 (patch) | |
| tree | 224ee5565f07237f23a5f2f76239001ea7b62465 /nova/openstack | |
| parent | 559cb7ac58200ab6e8f32a6914bf96d66ce8ea7f (diff) | |
| download | nova-15e266ce2b9100f3fd8f98230b9ffab9adb163f4.tar.gz nova-15e266ce2b9100f3fd8f98230b9ffab9adb163f4.tar.xz nova-15e266ce2b9100f3fd8f98230b9ffab9adb163f4.zip | |
Makes sure new flavors default to is_public=True
The default for is_public is true in the database, but new flavors
created through the extension was defaulting is_public=None and passing
it through to the db layer where it gets converted to False.
This patch fixes the issue by defaulting is_public to True at the api
layer. Incldes a broken test to verify.
Fixes bug 1046040
Change-Id: I4c361c0055a14de29e364868074e17cf3ec23220
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
