Fixes tenant_name vs name confusion

This commit is contained in:
Joe H. Rahme 2013-06-04 15:48:27 +02:00
parent 445b134e9c
commit 714824efa7
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ class Accounts(object):
_targets_filters = self.get_target_tenant_filter()
if _targets_filters is not None:
_targets = (tenant for tenant in self.keystone_cnx.tenants.list()
if tenant.tenant_name in _targets_filters)
if tenant.name in _targets_filters)
else:
_targets = self.keystone_cnx.tenants.list()