Fix build failure

Change-Id: I81df5c3fd085f71215a572e4d6b620afe50daeb5
Closes-Bug: #1754589
This commit is contained in:
arunmani 2018-03-09 04:28:39 -05:00
parent 7f8aabe246
commit 9a6a26a644

View File

@ -784,7 +784,7 @@ class Utils(object):
# For keystone v2 version
projects = ks_client.tenants.list()
elif hasattr(ks_client, 'version') and (ks_client.version
in ['v3', 'v3.0']:
in ['v3', 'v3.0']):
# For keystone v3 version
projects = ks_client.projects.list()
for tenant in projects: