Skip to content

Commit

Permalink
Clean up new line.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Feb 7, 2024
1 parent ec1b17e commit 8b23f79
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion models/event/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ func ToMemoryEvent(event cdc.Event, pkMap map[string]interface{}, tc *kafkalib.T

evtData := event.GetData(pkMap, tc)
tblName := stringutil.Override(event.GetTableName(), tc.TableName)

if cfgMode == config.History {
if !strings.HasSuffix(tblName, constants.HistoryModeSuffix) {
slog.Warn(fmt.Sprintf("History mode is enabled, but table name does not have a %s suffix, so we're adding it...", constants.HistoryModeSuffix))
Expand Down

0 comments on commit 8b23f79

Please sign in to comment.