import - quota id in rancher dashboard
This commit is contained in:
@@ -114,7 +114,11 @@ class RancherDashboardService:
|
||||
rancher_data_by_quota_usage = []
|
||||
for stat in available_stats:
|
||||
rancher_quota_data = rancher_quota_weight(rancher=rancher, quota=stat.quota, quota_stat=stat)
|
||||
rancher_quota_data.update({'product': stat.quota.product.name, 'product_id': stat.quota.product.id})
|
||||
rancher_quota_data.update({
|
||||
'product': stat.quota.product.name,
|
||||
'product_id': stat.quota.product.id,
|
||||
'quota_id': stat.quota.id,
|
||||
})
|
||||
rancher_data_by_quota_usage.append(rancher_quota_data)
|
||||
|
||||
product_list = set(stat.quota.product.id for stat in quota_stat)
|
||||
|
||||
Reference in New Issue
Block a user