lib/deimos/configuration.rb in deimos-kafka-1.0.0.pre.beta15 vs lib/deimos/configuration.rb in deimos-kafka-1.0.0.pre.beta16
- old
+ new
@@ -79,10 +79,11 @@
end
# @param other_config [Configuration]
# @return [Boolean]
def phobos_config_changed?(other_config)
- phobos_keys = %w(phobos_config_file ssl_ca_cert ssl_client_cert ssl_client_cert_key)
- phobos_keys.any? { |key| self.send(key) != other_config.send(key) }
+ phobos_keys = %w(seed_broker phobos_config_file ssl_ca_cert ssl_client_cert ssl_client_cert_key)
+ return true if phobos_keys.any? { |key| self.send(key) != other_config.send(key) }
+ other_config.logger != self.logger
end
end
end