From aab56d96e6808ce18099b7a2e8cf48f0f7743a0b Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Tue, 5 Nov 2024 13:56:15 -0800 Subject: [PATCH] Missed string fmt. --- lib/debezium/converters/time.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/debezium/converters/time.go b/lib/debezium/converters/time.go index c6535ee5..47932fcd 100644 --- a/lib/debezium/converters/time.go +++ b/lib/debezium/converters/time.go @@ -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 }