Fix linting errors: exitAfterDefer, hugeParam, rangeValCopy, magic numbers, nlreturn, nolintlint

This commit is contained in:
ProtoTess
2026-01-16 06:06:37 +00:00
parent 268330840c
commit 603b90422f
7 changed files with 38 additions and 27 deletions
+1 -1
View File
@@ -405,7 +405,7 @@ func (m *MockSOAPServerV2) handleRequest(w http.ResponseWriter, r *http.Request)
for _, ex := range exchanges {
exchangeKey := BuildMatchKeyFromExchange(ex)
score := requestKey.MatchScore(exchangeKey)
score := requestKey.MatchScore(&exchangeKey)
if score > bestScore {
bestScore = score
bestMatch = ex