Skip to content

Commit

Permalink
Missed string fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Nov 5, 2024
1 parent 735c8ae commit aab56d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/debezium/converters/time.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (DateConverter) Convert(value any) (any, error) {
}

if castedPart <= 0 {
slog.Warn("Skipping invalid value: %q", castValue)
slog.Warn(fmt.Sprintf("Skipping invalid value: %q", castValue))
// MySQL supports '0000-00-00' for date columns if strict mode is not enabled.
return nil, nil
}
Expand Down

0 comments on commit aab56d9

Please sign in to comment.