6baf8c9fa0
tenant_absolute_limits API wrapper converts -1 (unlimited) to float('inf'), but tenant_quota_usages() cannot handle this properly. This is a regression during the quota refactoring work. This commit changes QuotaUsage.add_quota() to accept float('inf') as one of unlimited quota value. Closes-Bug: #1741493 Part of blueprint make-quotas-great-again Change-Id: Ic6ed00761381d52ee04a15a43ee4fe2a30b9a106 |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
quotas.py | ||
tables.py | ||
views.py |