From 64fd185336fb4abdb515e480d993471b48bc54f4 Mon Sep 17 00:00:00 2001 From: Olivier G Date: Thu, 7 Dec 2023 17:59:19 +0100 Subject: [PATCH] fix code conflict issue --- pkg/collector/corechecks/snmp/snmp_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/collector/corechecks/snmp/snmp_test.go b/pkg/collector/corechecks/snmp/snmp_test.go index 435a5d3d77e30..28091939af9fe 100644 --- a/pkg/collector/corechecks/snmp/snmp_test.go +++ b/pkg/collector/corechecks/snmp/snmp_test.go @@ -9,10 +9,11 @@ import ( "bytes" "encoding/json" "fmt" - "github.com/DataDog/datadog-agent/pkg/collector/corechecks/snmp/internal/report" "testing" "time" + "github.com/DataDog/datadog-agent/pkg/collector/corechecks/snmp/internal/report" + "github.com/gosnmp/gosnmp" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" @@ -57,7 +58,7 @@ type deps struct { } func createDeps(t *testing.T) deps { - return fxutil.Test[deps](t, defaultforwarder.MockModule, config.MockModule, logimpl.MockModule) + return fxutil.Test[deps](t, demultiplexer.MockModule, defaultforwarder.MockModule, config.MockModule, logimpl.MockModule) } func Test_Run_simpleCase(t *testing.T) {