From e04e6fbf77a49e2630dce0bb9d3b4d632eeebdf9 Mon Sep 17 00:00:00 2001
From: ko_oler <kooler89@gmail.com>
Date: Tue, 22 Aug 2023 18:11:18 +0300
Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BF?=
 =?UTF-8?q?=D0=BE=20=D0=9F=D0=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 pkg/schema/field/timestamp.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/schema/field/timestamp.go b/pkg/schema/field/timestamp.go
index cc13bbea..7f89aefc 100644
--- a/pkg/schema/field/timestamp.go
+++ b/pkg/schema/field/timestamp.go
@@ -51,7 +51,7 @@ func toTimestamp(i interface{}) (interface{}, error) {
 	case uint32:
 		return int64(v), nil
 	default:
-		return 0, fmt.Errorf("unsupported value type: \"%T\"", i)
+		return nil, fmt.Errorf("unsupported value type: \"%T\"", i)
 	}
 }
 
-- 
GitLab