diff options
| author | Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com> | 2013-03-04 22:55:34 -0500 |
|---|---|---|
| committer | Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com> | 2013-03-05 08:00:54 -0500 |
| commit | 6b3bba9141c7fdc4b00025f7e6ee8d980e41ec9a (patch) | |
| tree | 4b4e83c52e34c6797f72f39bd042b28a49cb43e9 /nova/openstack | |
| parent | 71047567ee25bacf664f9b6387d9a5c53c63622e (diff) | |
| download | nova-6b3bba9141c7fdc4b00025f7e6ee8d980e41ec9a.tar.gz nova-6b3bba9141c7fdc4b00025f7e6ee8d980e41ec9a.tar.xz nova-6b3bba9141c7fdc4b00025f7e6ee8d980e41ec9a.zip | |
Fix 'to integer' conversion of max and min count values
Until now when you used values non-integer to max_count and/or min_count the
coercion worked like: min_count = int(2.5) so min_count received 2 instead of
raise bad request.
Convert to string before coerce to int solves the problem since int coercion
cannot convert from a string which is not a perfect int.
Change-Id: Ifaa9910e13614554d1769e71e8eba9587ec5a13b
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
