mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Merge "Modified API calls in os usage"
This commit is contained in:
commit
97538604ad
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class ListUsage(command.Lister):
|
|||
# Cache the project list
|
||||
project_cache = {}
|
||||
try:
|
||||
for p in self.app.client_manager.identity.tenants.list():
|
||||
for p in self.app.client_manager.identity.projects.list():
|
||||
project_cache[p.id] = p
|
||||
except Exception:
|
||||
# Just forget it if there's any trouble
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue