1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[openstack|identity] Fixed users fetching

Signed-off-by: Nelvin Driz <nelvindriz@live.com>
This commit is contained in:
Alvin Garcia 2012-04-04 09:56:21 +08:00 committed by Nelvin Driz
parent e47c5eb9c4
commit 30be620b87
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -3,6 +3,7 @@
*.rbc
*.sw?
.rvmrc
.irbrc
.bundle
.DS_Store
.idea

View file

@ -10,7 +10,7 @@ module Fog
attribute :tenant
def all
tenant_id = tenant.id || nil
tenant_id = tenant.nil? ? nil : tenant.id
load(connection.list_users(tenant_id).body['users'])
end