From 3f4a7ca6a5ba1830468da04ac9308b338969f159 Mon Sep 17 00:00:00 2001 From: Gavin Yu Date: Mon, 8 Apr 2024 14:22:28 +0800 Subject: [PATCH] Update internal/testutils/helper.go Co-authored-by: David --- internal/testutils/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/testutils/helper.go b/internal/testutils/helper.go index f02f6a651..731e5545d 100644 --- a/internal/testutils/helper.go +++ b/internal/testutils/helper.go @@ -287,7 +287,7 @@ func RandomBytes(size int) (b []byte) { func RandomPort() int { port, err := freeport.GetFreePort() if err != nil { - log.Crit("Failed to get local free random port", "custom_err", err) + log.Crit("Failed to get local free random port", "error", err) } return port }