horizon/openstack_dashboard/usage
Akihiro Motoki 6baf8c9fa0 Handle float('inf') in tenant_quota_usages properly
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
2018-01-06 03:54:30 +09:00
..
__init__.py hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
base.py Move SG and FIP API wrapper to api.neutron 2017-06-04 17:51:25 +00:00
quotas.py Handle float('inf') in tenant_quota_usages properly 2018-01-06 03:54:30 +09:00
tables.py hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
views.py Use specified phrases in lieu of 'Used' for limit summary 2017-11-14 12:06:17 +00:00