Skip to content

Commit

Permalink
Remove unused wr param from tableDiffer.diff
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Mason <[email protected]>
  • Loading branch information
ajm188 authored and DeathBorn committed Apr 12, 2024
1 parent b0148c6 commit ffa82a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/wrangler/vdiff.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func (wr *Wrangler) VDiff(ctx context.Context, targetKeyspace, workflowName, sou
return nil, err
}
// Perform the diff of source and target streams.
dr, err := td.diff(ctx, df.ts.wr, &rowsToCompare, debug, onlyPks)
dr, err := td.diff(ctx, &rowsToCompare, debug, onlyPks)
if err != nil {
return nil, vterrors.Wrap(err, "diff")
}
Expand Down Expand Up @@ -904,7 +904,7 @@ func humanInt(n int64) string {
//-----------------------------------------------------------------
// tableDiffer

func (td *tableDiffer) diff(ctx context.Context, wr *Wrangler, rowsToCompare *int64, debug, onlyPks bool) (*DiffReport, error) {
func (td *tableDiffer) diff(ctx context.Context, rowsToCompare *int64, debug, onlyPks bool) (*DiffReport, error) {
sourceExecutor := newPrimitiveExecutor(ctx, td.sourcePrimitive)
targetExecutor := newPrimitiveExecutor(ctx, td.targetPrimitive)
dr := &DiffReport{}
Expand Down

0 comments on commit ffa82a2

Please sign in to comment.