Skip to content

Commit

Permalink
remove unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-taf committed Dec 13, 2024
1 parent 4b12fd8 commit 2689611
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions comp/process/apiserver/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"go.uber.org/fx"

"github.com/DataDog/datadog-agent/cmd/process-agent/api"
logcomp "github.com/DataDog/datadog-agent/comp/core/log/def"
log "github.com/DataDog/datadog-agent/comp/core/log/def"
pkgconfigsetup "github.com/DataDog/datadog-agent/pkg/config/setup"
)

Expand All @@ -30,15 +30,14 @@ type dependencies struct {

Lc fx.Lifecycle

Log logcomp.Component
Log log.Component

APIServerDeps api.APIServerDeps
}

//nolint:revive // TODO(PROC) Fix revive linter
func newApiServer(deps dependencies) Component {
r := mux.NewRouter()

api.SetupAPIServerHandlers(deps.APIServerDeps, r) // Set up routes

addr, err := pkgconfigsetup.GetProcessAPIAddressPort(pkgconfigsetup.Datadog())
Expand Down

0 comments on commit 2689611

Please sign in to comment.