From f070af9a11ebd061a4712141e5abac14be7081c3 Mon Sep 17 00:00:00 2001 From: QianyongXu <13038089398@163.com> Date: Wed, 18 Sep 2024 01:30:52 -0700 Subject: [PATCH] polish --- pkg/util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/util.go b/pkg/util/util.go index 9f30251406..bab3f18001 100644 --- a/pkg/util/util.go +++ b/pkg/util/util.go @@ -416,5 +416,5 @@ func String2Bytes(s string) []byte { Len: sh.Len, Cap: sh.Len, } - return *(*[]byte)(unsafe.Pointer(&bh)) + return *(*[]byte)(unsafe.Pointer(&bh)) //nolint:gosec }