From fcd2ddb500b4cb8ce0dbc6b1cf8d26ab99d590f4 Mon Sep 17 00:00:00 2001 From: Laurence Date: Mon, 11 Nov 2024 19:15:41 +0000 Subject: [PATCH] chore: make linter happy :) --- pkg/acquisition/modules/appsec/appsec_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/acquisition/modules/appsec/appsec_test.go b/pkg/acquisition/modules/appsec/appsec_test.go index 442dab40766..85ac10746f2 100644 --- a/pkg/acquisition/modules/appsec/appsec_test.go +++ b/pkg/acquisition/modules/appsec/appsec_test.go @@ -61,9 +61,8 @@ func loadAppSecEngine(test appsecRuleTest, t *testing.T) { } outofbandRules = append(outofbandRules, strRule) } - for _, rule := range test.seclang_rules { - inbandRules = append(inbandRules, rule) - } + + inbandRules = append(inbandRules, test.seclang_rules...) appsecCfg := appsec.AppsecConfig{Logger: logger, OnLoad: test.on_load,