diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-12-21 12:15:08 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-12-21 12:15:08 +0000 |
| commit | 97538604adea6ed3625bae09a4574ab8b8fe0a5f (patch) | |
| tree | d6845834db757020f27f93a4f39e2593585156f2 /openstackclient | |
| parent | 931eee89ab21ef8400f3ece3849ac57773e1b67d (diff) | |
| parent | 035a87051c73eb5e6c4de3a12a4d50bd6acd1714 (diff) | |
| download | python-openstackclient-97538604adea6ed3625bae09a4574ab8b8fe0a5f.tar.gz | |
Merge "Modified API calls in os usage"
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/compute/v2/usage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/compute/v2/usage.py b/openstackclient/compute/v2/usage.py index 89601ae3..3edcffe4 100644 --- a/openstackclient/compute/v2/usage.py +++ b/openstackclient/compute/v2/usage.py @@ -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 |
