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

This needs to be indexed to 1 for it to work right

This commit is contained in:
Caleb Tennis 2010-07-31 02:53:30 +08:00 committed by Wesley Beary
parent 60ebfd67f8
commit 3fb7f85967

View file

@ -12,8 +12,8 @@ module Fog
#
def modify_snapshot_attribute(snapshot_id, attribute, operation_type, options = {})
params = {}
params.merge!(AWS.indexed_param('UserId', options['UserId']))
params.merge!(AWS.indexed_param('UserGroup', options['UserGroup']))
params.merge!(AWS.indexed_param('UserId', options['UserId'], 1))
params.merge!(AWS.indexed_param('UserGroup', options['UserGroup'], 1))
request({
'Action' => 'ModifySnapshotAttribute',
'Attribute' => attribute,