diff --git a/comp/metadata/inventoryhaagent/mock/mock.go b/comp/metadata/inventoryhaagent/mock/mock.go index 5146d9c72d0f7..83f7722fe4e24 100644 --- a/comp/metadata/inventoryhaagent/mock/mock.go +++ b/comp/metadata/inventoryhaagent/mock/mock.go @@ -14,8 +14,8 @@ import ( inventoryhaagent "github.com/DataDog/datadog-agent/comp/metadata/inventoryhaagent/def" ) -// MockModule defines the fx options for the mock component. -func MockModule() fxutil.Module { +// Module defines the fx options for the mock component. +func Module() fxutil.Module { return fxutil.Component( fx.Provide(newMock)) }