lib/routemaster/config.rb in routemaster-drain-2.5.2 vs lib/routemaster/config.rb in routemaster-drain-2.5.3

- old
+ new

@@ -23,14 +23,14 @@ def logger @logger ||= NullLogger.new end def drain_redis - RedisBroker.instance.get(:drain_redis, urls: ENV.fetch('ROUTEMASTER_DRAIN_REDIS').split(',')) + RedisBroker.instance.get(:drain_redis, urls: ENV.fetch('ROUTEMASTER_DRAIN_REDIS', '').split(',')) end def cache_redis - RedisBroker.instance.get(:cache_redis, urls: ENV.fetch('ROUTEMASTER_CACHE_REDIS').split(',')) + RedisBroker.instance.get(:cache_redis, urls: ENV.fetch('ROUTEMASTER_CACHE_REDIS', '').split(',')) end # # Given an ENV format of service:service_root_url,other_service:other_service_root_url # Generate a hash of { service => service_root_url, other_service => other_service_root_url }