Skip to content

Commit 84b747c

Browse files
authored
mark copy_object as idempotent (#706)
closes #704
1 parent 722476a commit 84b747c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/fog/aws/requests/storage/copy_object.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def copy_object(source_bucket_name, source_object_name, target_bucket_name, targ
3434
:headers => headers,
3535
:bucket_name => target_bucket_name,
3636
:object_name => target_object_name,
37+
:idempotent => true,
3738
:method => 'PUT',
3839
:parser => Fog::Parsers::AWS::Storage::CopyObject.new,
3940
})

0 commit comments

Comments
 (0)