Skip to content

Commit

Permalink
restore manager.go file
Browse files Browse the repository at this point in the history
  • Loading branch information
bashar-515 committed Jan 8, 2025
1 parent b021fcc commit eab7beb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/modmanager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func (mgr *Manager) add(ctx context.Context, conf config.Module, moduleLogger lo
resources: map[resource.Name]*addedResource{},
logger: moduleLogger,
ftdc: mgr.ftdc,
port: mgr.nextPort,
port: int(mgr.nextPort.Add(1)),
}

if err := mgr.startModule(ctx, mod); err != nil {
Expand Down Expand Up @@ -1365,7 +1365,7 @@ func (m *module) registerProcessWithFTDC() {
return
}

m.ftdc.Add(fmt.Sprintf("modules.%s", m.process.ID()), statser)
m.ftdc.Add(fmt.Sprintf("proc.modules.%s", m.process.ID()), statser)
}

func getFullEnvironment(
Expand Down

0 comments on commit eab7beb

Please sign in to comment.