summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Borg <jakob@kastelo.net>2023-12-11 07:42:39 +0100
committerJakob Borg <jakob@kastelo.net>2023-12-11 07:44:04 +0100
commit3850a08252ecc5fdd8a5f3257628d3f03f2cd641 (patch)
treeca3d32d3392454ecd00666dee7f59f96a0382700
parenta28de730318bf93b8ea9363f9bf2a05c178b4033 (diff)
lib/model: Remove spurious "replacing service" failure event (ref #9271)v1.27.1
This is no longer a notable condition, as we do this pretty much all the time.
-rw-r--r--lib/model/service_map.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/model/service_map.go b/lib/model/service_map.go
index 0eed99cfc2..7eaf945069 100644
--- a/lib/model/service_map.go
+++ b/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)