Skip to content

Commit 36c75f2

Browse files
fix called function
1 parent 7f6dafa commit 36c75f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/fetch.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ func prepareQueryExecution(ctx context.Context, c *cli.Command, fs afero.Fs) (st
307307
extractor := &query.WholeFileExtractor{
308308
Fs: fs,
309309
// note: we don't support variables for now
310-
Renderer: jinja.NewRendererWithStartEndDatesAndMacros(&startDate, &endDate, &defaultExecutionDate, "your-pipeline-name", "your-run-id", nil, ""),
310+
Renderer: jinja.NewRendererWithStartEndDates(&startDate, &endDate, &defaultExecutionDate, "your-pipeline-name", "your-run-id", nil),
311311
}
312312

313313
// Direct query mode (no asset path)
@@ -337,7 +337,7 @@ func prepareQueryExecution(ctx context.Context, c *cli.Command, fs afero.Fs) (st
337337
extractor = &query.WholeFileExtractor{
338338
Fs: fs,
339339
// note: we don't support variables for now
340-
Renderer: jinja.NewRendererWithStartEndDatesAndMacros(&startDate, &endDate, &defaultExecutionDate, pipelineInfo.Pipeline.Name, "your-run-id", nil, ""),
340+
Renderer: jinja.NewRendererWithStartEndDates(&startDate, &endDate, &defaultExecutionDate, pipelineInfo.Pipeline.Name, "your-run-id", nil),
341341
}
342342

343343
newExtractor, err := extractor.CloneForAsset(fetchCtx, pipelineInfo.Pipeline, pipelineInfo.Asset)
@@ -371,7 +371,7 @@ func prepareQueryExecution(ctx context.Context, c *cli.Command, fs afero.Fs) (st
371371
extractor = &query.WholeFileExtractor{
372372
Fs: fs,
373373
// note: we don't support variables for now
374-
Renderer: jinja.NewRendererWithStartEndDatesAndMacros(&startDate, &endDate, &defaultExecutionDate, pipelineInfo.Pipeline.Name, "your-run-id", nil, ""),
374+
Renderer: jinja.NewRendererWithStartEndDates(&startDate, &endDate, &defaultExecutionDate, pipelineInfo.Pipeline.Name, "your-run-id", nil),
375375
}
376376
newExtractor, err := extractor.CloneForAsset(fetchCtx, pipelineInfo.Pipeline, pipelineInfo.Asset)
377377
if err != nil {

0 commit comments

Comments
 (0)