diff options
author | jiataotj <jiataotj@cn.ibm.com> | 2013-05-28 18:20:15 +0800 |
---|---|---|
committer | jiataotj <jiataotj@cn.ibm.com> | 2013-06-24 11:30:21 +0800 |
commit | 8ee10c55b045ab6d85b41dddbbb95384d009fb9b (patch) | |
tree | 907165bb294f0c76bd8c2492540f522458036dcf /nova/utils.py | |
parent | cefb0510b8f12dab17126907661d82094c31741d (diff) | |
download | nova-8ee10c55b045ab6d85b41dddbbb95384d009fb9b.tar.gz nova-8ee10c55b045ab6d85b41dddbbb95384d009fb9b.tar.xz nova-8ee10c55b045ab6d85b41dddbbb95384d009fb9b.zip |
Add invalid number checking in flavor creation api
Flavor creation api doesn't check whether 'memory_mb'
argument number is integer,add invalid number checking
into the flavor creation function to remind the user to
input right value
Fixes bug #1171278
Change-Id: I8308f66c485d8c872864661148e9eac7b685e406
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions