We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64b8fe8 commit 898296dCopy full SHA for 898296d
agent/agent.go
@@ -111,7 +111,8 @@ func (a *Agent) GetStatus() interface{} {
111
}
112
113
analyzers := make(map[string]AnalyzerConnStatus)
114
- for id, status := range a.analyzerClientPool.GetStatus() {
+ for _, status := range a.analyzerClientPool.GetStatus() {
115
+ id := fmt.Sprintf("%s:%d", status.Addr, status.Port)
116
analyzers[id] = AnalyzerConnStatus{
117
WSConnStatus: status,
118
IsMaster: status.Addr == masterAddr && status.Port == masterPort,
0 commit comments