diff --git a/lib/synapse/service_watcher/etcd.rb b/lib/synapse/service_watcher/etcd.rb index 74e281d9..45e72b99 100644 --- a/lib/synapse/service_watcher/etcd.rb +++ b/lib/synapse/service_watcher/etcd.rb @@ -133,8 +133,7 @@ def discover true end else - log.info "synapse: discovered #{new_backends.length} backends for service #{@name}" - if @backends == new_backends + if @backends != new_backends log.info "synapse: discovered #{new_backends.length} backends (including new) for service #{@name}" @backends = new_backends true