Skip to content

Commit

Permalink
Lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed May 2, 2024
1 parent d7b0701 commit 28b565f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions clients/shared/append.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,15 @@ func Append(dwh destination.DataWarehouse, tableData *optimization.TableData, op
return fmt.Errorf("failed to merge columns from destination: %w", err)
}

additionalSettings := types.AdditionalSettings{

Check failure on line 54 in clients/shared/append.go

View workflow job for this annotation

GitHub Actions / test

should convert opts (type github.com/artie-labs/transfer/lib/destination/types.AppendOpts) to github.com/artie-labs/transfer/lib/destination/types.AdditionalSettings instead of using struct literal (S1016)
AdditionalCopyClause: opts.AdditionalCopyClause,
}

return dwh.PrepareTemporaryTable(
tableData,
tableConfig,
tableID,
types.AdditionalSettings{
AdditionalCopyClause: opts.AdditionalCopyClause,
},
additionalSettings,
false,
)
}

0 comments on commit 28b565f

Please sign in to comment.