diff options
author | Tiago Mello <tmello@linux.vnet.ibm.com> | 2013-02-12 20:32:59 -0200 |
---|---|---|
committer | Tiago Mello <tmello@linux.vnet.ibm.com> | 2013-02-12 20:32:59 -0200 |
commit | f59a0373834655346b50eac2a033c7cb31061c3a (patch) | |
tree | fce00a5368b3b6ca3e7aeeb8551cf4e380c2abd5 /nova/utils.py | |
parent | 9994a9161d0acac216b3441233eae1f7238db889 (diff) | |
download | nova-f59a0373834655346b50eac2a033c7cb31061c3a.tar.gz nova-f59a0373834655346b50eac2a033c7cb31061c3a.tar.xz nova-f59a0373834655346b50eac2a033c7cb31061c3a.zip |
Forces flavorRef to be string in servers resize api
flavorid column is a string in the database model and
MySQL silently accepts either integer or string as
data type. However PostgreSQL expects the right data
type. So we force it to be string as early as possible
in the api.
Fixes Bug 1123525
Change-Id: Id117868b3a2f840f5d7ab463f3b79b6631b3b514
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions