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:
parent
579077b0d0
commit
08b18cd514
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue