mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Only do a 'head' on the file that we've copied - no need to go download it now, that would defeat the purpose
This commit is contained in:
parent
3e859fafab
commit
b13fa11236
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