File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import (
14
14
func exportAsCSV (jobs chan * work.Job ) {
15
15
16
16
now := time .Now ().Format ("2006-01-02-15-04-05" )
17
- f , err := os .Create (fmt .Sprintf ("geth_tx_export_%s.csv" , now ))
17
+ f , err := os .Create (fmt .Sprintf ("/output/ geth_tx_export_%s.csv" , now ))
18
18
if err != nil {
19
19
log .Fatal ("failed to open output file" , "err" , err .Error ())
20
20
}
@@ -47,7 +47,7 @@ func exportAsCSV(jobs chan *work.Job) {
47
47
48
48
func exportFailedBlockJobs (jobs chan * work.Job ) {
49
49
50
- f , err := os .Create ("failedBlocks.txt" )
50
+ f , err := os .Create ("/output/ failedBlocks.txt" )
51
51
if err != nil {
52
52
log .Fatal ("failed to create block error file" , "err" , err .Error ())
53
53
}
@@ -65,7 +65,7 @@ func exportFailedBlockJobs(jobs chan *work.Job) {
65
65
66
66
func exportFailedTxJobs (jobs chan * work.Job ) {
67
67
68
- f , err := os .Create ("failedTransactions.txt" )
68
+ f , err := os .Create ("/output/ failedTransactions.txt" )
69
69
if err != nil {
70
70
log .Fatal ("failed to create transaction error file" , "err" , err .Error ())
71
71
}
You can’t perform that action at this time.
0 commit comments