Skip to content

Commit 5edc200

Browse files
committed
Add cache todo
1 parent b2e977c commit 5edc200

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

os_capacity/prometheus.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ def get_resource_provider_info(compute_client, placement_client):
122122
# skip checking every resource provider for their aggregates
123123
continue
124124

125+
# TODO(johngarbutt): add a cache in here?
125126
response = placement_client.get(
126127
f"/resource_providers/{raw_rp.id}/aggregates",
127128
headers={"OpenStack-API-Version": "placement 1.19"},

0 commit comments

Comments
 (0)