diff options
author | Haiwei Xu <xu-haiwei@mxw.nes.nec.co.jp> | 2013-02-12 01:37:27 +0000 |
---|---|---|
committer | Haiwei Xu <xu-haiwei@mxw.nes.nec.co.jp> | 2013-02-13 10:32:48 +0000 |
commit | 2c1bb9efd9287381f16979899bf25022822bf95b (patch) | |
tree | 6b59fd6cd6382c5c20c93a322caf4d54aad669eb /tools/hacking.py | |
parent | d980805880c681881504e269e03130e4452630ab (diff) | |
download | nova-2c1bb9efd9287381f16979899bf25022822bf95b.tar.gz nova-2c1bb9efd9287381f16979899bf25022822bf95b.tar.xz nova-2c1bb9efd9287381f16979899bf25022822bf95b.zip |
Check the length of flavor name in "flavor-create"
Fixes bug 1102280
The length of flavor name is defined 255 charaters in database.
But flavor name can be more than 255 characters when a flavor
is created. This patch adds the length check of flavor name.
Change-Id: If9db879e5f6340594b215b057a29d03c6fef1503
Diffstat (limited to 'tools/hacking.py')
0 files changed, 0 insertions, 0 deletions