VSCode: Launch Grafana with Storage server (#88351)

* VSCode: Launch Grafana with Storage server

* Fix module_server_test
This commit is contained in:
Gabriel MABILLE
2024-05-29 10:02:35 +02:00
committed by GitHub
parent 1f90123f35
commit 5eecc01123
5 changed files with 24 additions and 10 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ func (s *ModuleServer) Run() error {
if m.IsModuleEnabled(modules.All) || m.IsModuleEnabled(modules.Core) {
return services.NewBasicService(nil, nil, nil).WithName(modules.InstrumentationServer), nil
}
return NewInstrumentationService(s.log)
return NewInstrumentationService(s.log, s.cfg)
})
m.RegisterModule(modules.Core, func() (services.Service, error) {