Skip to content

Commit

Permalink
Update pkg/sink/codec/simple/message.go
Browse files Browse the repository at this point in the history
Co-authored-by: dongmen <[email protected]>
  • Loading branch information
3AceShowHand and asddongmen authored Nov 29, 2023
1 parent 6e86990 commit c67dd0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sink/codec/simple/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ type IndexSchema struct {
Columns []string `json:"columns"`
}

// FromTiIndexInfo converts from TiDB IndexInfo to Index.
// newIndexSchema converts from TiDB IndexInfo to IndexSchema.
func newIndexSchema(index *timodel.IndexInfo, columns []*timodel.ColumnInfo) *IndexSchema {
indexSchema := &IndexSchema{
Name: index.Name.O,
Expand Down

0 comments on commit c67dd0a

Please sign in to comment.