summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorTiago Mello <tmello@linux.vnet.ibm.com>2013-02-12 20:32:59 -0200
committerTiago Mello <tmello@linux.vnet.ibm.com>2013-02-12 20:32:59 -0200
commitf59a0373834655346b50eac2a033c7cb31061c3a (patch)
treefce00a5368b3b6ca3e7aeeb8551cf4e380c2abd5 /nova/utils.py
parent9994a9161d0acac216b3441233eae1f7238db889 (diff)
downloadnova-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