mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|iam] fix 'Path' handling for get_group response
This commit is contained in:
parent
fa77c2ff1d
commit
3302900967
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ module Fog
|
|||
|
||||
def end_element(name)
|
||||
case name
|
||||
when 'Arn'
|
||||
when 'Arn', 'Path'
|
||||
if @in_group
|
||||
@response['Group'][name] = value
|
||||
elsif @in_users
|
||||
|
@ -35,7 +35,7 @@ module Fog
|
|||
@response['Group'][name] = value
|
||||
when 'Users'
|
||||
@in_users = false
|
||||
when 'UserId', 'UserName', 'Path'
|
||||
when 'UserId', 'UserName'
|
||||
@user[name] = value
|
||||
when 'member'
|
||||
@response['Users'] << @user
|
||||
|
|
Loading…
Add table
Reference in a new issue