Skip to content

Commit

Permalink
fix: dataset/table name passed during config gen
Browse files Browse the repository at this point in the history
  • Loading branch information
kushsharma committed Jun 22, 2021
1 parent 0801387 commit 365796e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions task/bq2bq/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ func findAnswerByName(name string, answers []models.PluginAnswer) (models.Plugin

func (b *BQ2BQ) DefaultTaskConfig(ctx context.Context, request models.DefaultTaskConfigRequest) (models.DefaultTaskConfigResponse, error) {
proj, _ := findAnswerByName("Project", request.Answers)
dataset, _ := findAnswerByName("Table", request.Answers)
tab, _ := findAnswerByName("Dataset", request.Answers)
dataset, _ := findAnswerByName("Dataset", request.Answers)
tab, _ := findAnswerByName("Table", request.Answers)
lm, _ := findAnswerByName("LoadMethod", request.Answers)

conf := []models.TaskPluginConfig{
Expand Down

0 comments on commit 365796e

Please sign in to comment.