Permalink
Browse files

fixed issue with create_from_path in upload_data_to_s3

  • Loading branch information...
1 parent 9e82f96 commit 47c38a95f319ef579198033b1f56c5ec3f6a270b @rdulepet committed Jun 1, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 s3_upload.rb
View
@@ -43,7 +43,7 @@ def upload_data_to_s3 (server_name, job_id, type, fname, fpath_name)
end
#create dataset object form path
- Net::HTTP.get(URI.parse("http://#{server_name}/data_sets/create_from_path.xml?name=job_result_dataset&job_id=#{job_id}&path=#{path}"))
+ Net::HTTP.get(URI.parse("http://#{server_name}/data_sets/create_from_path.xml?name=#{fname}&job_id=#{job_id}&path=#{path}"))
end
def fetch_data_file(s3url, dest_file)

0 comments on commit 47c38a9

Please sign in to comment.