From ce7534112aa392765a68659642c4ef0ec8c6101d Mon Sep 17 00:00:00 2001 From: Ice3man543 Date: Mon, 8 Nov 2021 16:10:04 +0530 Subject: [PATCH] Fixed linter issues --- v2/pkg/protocols/protocols.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/pkg/protocols/protocols.go b/v2/pkg/protocols/protocols.go index 8333ec86..7ad9d24a 100644 --- a/v2/pkg/protocols/protocols.go +++ b/v2/pkg/protocols/protocols.go @@ -165,7 +165,7 @@ func MakeDefaultMatchFunc(data map[string]interface{}, matcher *matchers.Matcher part = "response" } - partItem, ok := data[matcher.Part] + partItem, ok := data[part] if !ok && len(matcher.DSL) == 0 { return false, nil }