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:
parent
e47c5eb9c4
commit
30be620b87
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,6 +3,7 @@
|
|||
*.rbc
|
||||
*.sw?
|
||||
.rvmrc
|
||||
.irbrc
|
||||
.bundle
|
||||
.DS_Store
|
||||
.idea
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue