removed obsolete comments.
This commit is contained in:
parent
fd064f249f
commit
65ffc65710
@ -215,12 +215,6 @@ func updateDurations() {
|
||||
}
|
||||
|
||||
func updateMetricsImpl(state *models.State) {
|
||||
// This implemnetation has a small probability that the metric will be in a partially
|
||||
// initialized state. This is however unlikely. It would lead to in incorrect determination
|
||||
// that an agent or client is not available. However, each agent and client will have a UID
|
||||
// so that is still possible to identify the client or agent even though some values might
|
||||
// become 0.
|
||||
|
||||
agentGuids := make(map[string]models.Agent)
|
||||
clientGuids := make(map[string]models.Client)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user