Skip to content

Commit

Permalink
ROX-19013 Fix constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
ludydoo committed Sep 11, 2023
1 parent e05e5c1 commit 74ddfc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dinosaur/pkg/routes/route_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func (s *options) buildAPIBaseRouter(mainRouter *mux.Router, basePath string, op

// /agent-clusters/{id}
dataPlaneClusterHandler := handlers.NewDataPlaneClusterHandler(s.DataPlaneCluster)
dataPlaneCentralHandler := handlers.NewDataPlaneDinosaurHandler(s.DataPlaneCentralService, s.ManagedCentralPresenter)
dataPlaneCentralHandler := handlers.NewDataPlaneDinosaurHandler(s.DataPlaneCentralService, s.Central, s.ManagedCentralPresenter)
apiV1DataPlaneRequestsRouter := apiV1Router.PathPrefix("/agent-clusters").Subrouter()
apiV1DataPlaneRequestsRouter.HandleFunc("/{id}", dataPlaneClusterHandler.GetDataPlaneClusterConfig).
Name(logger.NewLogEvent("get-dataplane-cluster-config", "get dataplane cluster config by id").ToString()).
Expand Down

0 comments on commit 74ddfc3

Please sign in to comment.