Merge "Remove Min/Max for Configuration Group Booleans"
This commit is contained in:
commit
986b0572bc
@ -198,7 +198,7 @@ class ConfigurationsController(wsgi.Controller):
|
|||||||
raise exception.UnprocessableEntity(message=msg)
|
raise exception.UnprocessableEntity(message=msg)
|
||||||
|
|
||||||
# integer min/max checking
|
# integer min/max checking
|
||||||
if isinstance(v, int):
|
if isinstance(v, int) and not isinstance(v, bool):
|
||||||
try:
|
try:
|
||||||
min_value = int(rule.get('min'))
|
min_value = int(rule.get('min'))
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
Loading…
Reference in New Issue
Block a user