Skip to content

Commit

Permalink
fix: golang lint
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Yang <[email protected]>
  • Loading branch information
reaver-flomesh committed Sep 13, 2023
1 parent 15cdcc8 commit 85fb9d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/gateway/cache/cacheutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 85fb9d3

Please sign in to comment.