karbor-dashboard: provider is being get for each checkpoint

Bug #1643331 reported by Yuval Brik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Karbor
Fix Released
Low
zhangshuai

Bug Description

In checkpoints/views.py, IndexView class, get_data() method, we list the checkpoints for a provider.
After that, we iterate the checkpoints for that provider and get the provider using karbor client. This is not necessary: all the checkpoints are from the same provider, and even if they weren't, we could use karbor client to get each provider only once.

Yuval Brik (jhamhader)
Changed in karbor:
status: New → Triaged
importance: Undecided → Low
milestone: none → ocata
Changed in karbor:
assignee: nobody → edison xiang (xiang-edison)
zhangshuai (446077695-t)
Changed in karbor:
assignee: edison xiang (xiang-edison) → zhangshuai (446077695-t)
zhangshuai (446077695-t)
Changed in karbor:
status: Triaged → Fix Committed
zhangshuai (446077695-t)
Changed in karbor:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.