diff options
| author | jiataotj <jiataotj@cn.ibm.com> | 2013-06-03 16:36:05 +0800 |
|---|---|---|
| committer | jiataotj <jiataotj@cn.ibm.com> | 2013-06-14 10:50:16 +0800 |
| commit | e5e0fddad9ac208087f4e5b5c644575ad6d5c796 (patch) | |
| tree | 04ea5391f919b98bdf20a11956136feae3ee7504 /nova/node.py | |
| parent | acda8b374169742257c098fa99220d7c823ff5ee (diff) | |
Fix flavor extra_specs filter doesn't work for number
In extra_specs_ops.match(value, req) function, req are
always string,but value of host capabilities may be number.
When filter host by comparing number with string,even right
os-extra_specs can't pass filter.
We should convert value to string to make the filter work
correctly.
Fixes: bug #1186881
Change-Id: I3e1ab60109673450caae3a7f0bc4a3610ae619ef
Diffstat (limited to 'nova/node.py')
0 files changed, 0 insertions, 0 deletions
