Skip to content

Commit 63efe7a

Browse files
committed
Merge pull request #11 from tdviet/patch-1
use u.name instead of u.username
2 parents 63cb97b + 40c70b0 commit 63efe7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caso/extract/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _get_keystone_client(self, tenant):
9696
def _get_keystone_users(self, ks_client):
9797
tenant_id = ks_client.tenant_id
9898
users = ks_client.users.list(tenant_id=tenant_id)
99-
return {u.id: u.username for u in users}
99+
return {u.id: u.name for u in users}
100100

101101
def vm_status(self, status):
102102
return openstack_vm_statuses.get(status.lower(), 'unknown')

0 commit comments

Comments
 (0)