Skip to content

Commit

Permalink
lib/model: Remove spurious "replacing service" failure event (ref #9271)
Browse files Browse the repository at this point in the history
This is no longer a notable condition, as we do this pretty much all the
time.
  • Loading branch information
calmh committed Dec 11, 2023
1 parent a28de73 commit 3850a08
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/model/service_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3850a08

Please sign in to comment.