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

[AWS|DynamoDB] fix for UpdateItem idempotency

This commit is contained in:
geemus 2012-01-23 09:56:02 -06:00
parent 579077b0d0
commit 08b18cd514

View file

@ -37,7 +37,7 @@ module Fog
'TableName' => table_name
}.merge(options)
idempotent = attribute_updates.any? {|key, value| value.has_key?('Action')}
idempotent = attribute_updates.has_key?('Action')
request(
:body => MultiJson.encode(body),