Skip to content

Commit

Permalink
Fix merge issue in backport
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
  • Loading branch information
rohit-nayak-ps committed Jan 13, 2025
1 parent e0caf4a commit 447afa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtctl/workflow/traffic_switcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ func (ts *trafficSwitcher) cancelMigration(ctx context.Context, sm *StreamMigrat
defer cmCancel()

if ts.MigrationType() == binlogdatapb.MigrationType_TABLES {
err = ts.changeTableSourceWrites(ctx, allowWrites)
err = ts.changeTableSourceWrites(cmCtx, allowWrites)
} else {
err = ts.changeShardsAccess(cmCtx, ts.SourceKeyspaceName(), ts.SourceShards(), allowWrites)
}
Expand Down

0 comments on commit 447afa3

Please sign in to comment.