From 4d3e5e0140a57a01c99693872d9077e5de38e3c1 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Wed, 11 Dec 2024 17:16:54 -0800 Subject: [PATCH] CLean up. --- lib/debezium/converters/basic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/debezium/converters/basic.go b/lib/debezium/converters/basic.go index bb868b96f..b361c5656 100644 --- a/lib/debezium/converters/basic.go +++ b/lib/debezium/converters/basic.go @@ -110,7 +110,7 @@ func (a Array) Convert(value any) (any, error) { // Debezium will give us a list of JSON strings. We will then need to convert them to JSON objects. elements, ok := value.([]any) if !ok { - return nil, fmt.Errorf("expected []interface{}, got %T", value) + return nil, fmt.Errorf("expected []any, got %T", value) } convertedElements := make([]any, len(elements))