From 85fb9d36dd42f24f5f94b01763accc628aae0f9a Mon Sep 17 00:00:00 2001 From: Lin Yang Date: Wed, 13 Sep 2023 18:34:50 +0800 Subject: [PATCH] fix: golang lint Signed-off-by: Lin Yang --- pkg/gateway/cache/cacheutils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/gateway/cache/cacheutils.go b/pkg/gateway/cache/cacheutils.go index 8691ec3ac..d6ef41b6d 100644 --- a/pkg/gateway/cache/cacheutils.go +++ b/pkg/gateway/cache/cacheutils.go @@ -431,6 +431,7 @@ func mergeL7RouteRule(rule1 routecfg.L7RouteRule, rule2 routecfg.L7RouteRule) ro return mergedRule } +//lint:ignore U1000 ignore unused func copyMap[K, V comparable](m map[K]V) map[K]V { result := make(map[K]V) for k, v := range m {