Merge "Add quota.type field when reporting share usage"

This commit is contained in:
Jenkins 2017-09-23 01:06:33 +00:00 committed by Gerrit Code Review
commit b2ee91f286
1 changed files with 1 additions and 0 deletions

View File

@ -380,6 +380,7 @@ def get_context_data(self, **kwargs):
for t in types:
if t[0] in self.usage.limits and t[1] in self.usage.limits:
context['charts'].append({
'type': t[0],
'name': t[2],
'used': self.usage.limits[t[0]],
'max': self.usage.limits[t[1]],