Merge "Modified API calls in os usage"
This commit is contained in:
commit
97538604ad
@ -89,7 +89,7 @@ class ListUsage(command.Lister):
|
|||||||
# Cache the project list
|
# Cache the project list
|
||||||
project_cache = {}
|
project_cache = {}
|
||||||
try:
|
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
|
project_cache[p.id] = p
|
||||||
except Exception:
|
except Exception:
|
||||||
# Just forget it if there's any trouble
|
# Just forget it if there's any trouble
|
||||||
|
Loading…
x
Reference in New Issue
Block a user