Skip to content

Commit bf6c7fa

Browse files
author
Jeffrey Starker
committed
Duh! Added something that I did not test. Fixed the timestamp when generating the file name to upload to the S3 bucket.
1 parent 05f706e commit bf6c7fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy_to_elastic.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def generate_file_name(deploy_file_name)
5858

5959
extname = File.extname(deploy_file_name)
6060
basename = File.basename(deploy_file_name, extname)
61-
time = now()
61+
time = Time.now()
6262

6363
file_name = basename.delete "-_"
6464
file_name << time.strftime("%Y%m%dT%H%M%S")

0 commit comments

Comments
 (0)