diff --git a/services_list.go b/services_list.go index da7dafb..a6cdea8 100644 --- a/services_list.go +++ b/services_list.go @@ -172,6 +172,10 @@ func (l *ServicesList) Next() service.IService { // Add service to the list func (l *ServicesList) Add(srv service.IService) { + if l.IsServiceExists(srv) { + return + } + l.mu.Lock() if err := srv.HealthCheck(); err != nil {