Merge "Modified API calls in os usage"

This commit is contained in:
Jenkins 2016-12-21 12:15:08 +00:00 committed by Gerrit Code Review
commit 97538604ad

View File

@ -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