mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #680 from larspind/b13fa112369ef26760be52fce81ac7b366703010
Change to only do a 'head' on the file that we've copied directly in S3
This commit is contained in:
commit
352d3658cb
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ module Fog
|
|||
requires :directory, :key
|
||||
connection.copy_object(directory.key, key, target_directory_key, target_file_key, options)
|
||||
target_directory = connection.directories.new(:key => target_directory_key)
|
||||
target_directory.files.get(target_file_key)
|
||||
target_directory.files.head(target_file_key)
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
|
Loading…
Reference in a new issue