Explorar o código

lib/model: Remove spurious "replacing service" failure event (ref #9271)

This is no longer a notable condition, as we do this pretty much all the
time.
Jakob Borg %!s(int64=2) %!d(string=hai) anos
pai
achega
d0e407f3c3
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      lib/model/service_map.go

+ 0 - 1
lib/model/service_map.go

@@ -46,7 +46,6 @@ func (s *serviceMap[K, S]) Add(k K, v S) {
 	if tok, ok := s.tokens[k]; ok {
 		// There is already a service at this key, remove it first.
 		s.supervisor.Remove(tok)
-		s.eventLogger.Log(events.Failure, fmt.Sprintf("%s replaced service at key %v", s, k))
 	}
 	s.services[k] = v
 	s.tokens[k] = s.supervisor.Add(v)