Skip to content

Commit

Permalink
Revert "Rename shared function appropriately"
Browse files Browse the repository at this point in the history
This reverts commit 0e259ce.

Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord committed Oct 2, 2023
1 parent 0e259ce commit e1a622e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions go/vt/vtctl/workflow/materializer.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ func (mz *materializer) getWorkflowSubType() (binlogdatapb.VReplicationWorkflowS
}
}

// createMigrationStreams creates the vreplication streams for Migrate,
// MoveTables, and Reshard workflows.
func (mz *materializer) createMigrationStreams(req *vtctldatapb.MoveTablesCreateRequest) error {
func (mz *materializer) createMoveTablesStreams(req *vtctldatapb.MoveTablesCreateRequest) error {
if err := validateNewWorkflow(mz.ctx, mz.ts, mz.tmc, mz.ms.TargetKeyspace, mz.ms.Workflow); err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion go/vt/vtctl/workflow/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ func (s *Server) MoveTablesCreate(ctx context.Context, req *vtctldatapb.MoveTabl
tmc: s.tmc,
ms: ms,
}
err = mz.createMigrationStreams(req)
err = mz.createMoveTablesStreams(req)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit e1a622e

Please sign in to comment.