Skip to content

Commit

Permalink
Minor changes from self review
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <mattalord@gmail.com>
  • Loading branch information
mattlord committed Jan 1, 2025
1 parent 065fd01 commit f0047fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/vt/vtctl/grpcvtctldserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,9 @@ func (s *VtctldServer) CopySchemaShard(ctx context.Context, req *vtctldatapb.Cop
span.Annotate("destination_shard", req.DestinationShard)

waitReplicasTimeout, _, err := protoutil.DurationFromProto(req.WaitReplicasTimeout)
if err != nil {
return nil, err
}

return &vtctldatapb.CopySchemaShardResponse{}, s.ws.CopySchemaShard(ctx,
req.SourceTabletAlias, req.Tables, req.ExcludeTables, req.IncludeViews, req.DestinationKeyspace, req.DestinationShard,
Expand Down

0 comments on commit f0047fa

Please sign in to comment.