From ea2fa7318738b20cec942e2635fbb55a90663b20 Mon Sep 17 00:00:00 2001 From: Joshua T Corbin Date: Fri, 26 Feb 2016 09:45:08 -0800 Subject: [PATCH] ServiceDispatchHandler#updateServiceChannel: always call update{Exit,Service}Nodes --- service-proxy.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/service-proxy.js b/service-proxy.js index 92a46a8..20d85b9 100644 --- a/service-proxy.js +++ b/service-proxy.js @@ -1104,9 +1104,8 @@ function updateServiceChannel(serviceChannel, now) { if (serviceChannel.serviceProxyMode === 'forward') { self.changeToExit(serviceChannel); - } else { - self.updateServiceNodes(serviceChannel, now); } + self.updateServiceNodes(serviceChannel, now); } else { if (self.partialAffinityEnabled) { delete self.partialRanges[serviceChannel.serviceName]; @@ -1114,9 +1113,8 @@ function updateServiceChannel(serviceChannel, now) { if (serviceChannel.serviceProxyMode === 'exit') { self.changeToForward(exitNodes, serviceChannel, now); - } else { - self.updateExitNodes(exitNodes, serviceChannel); } + self.updateExitNodes(exitNodes, serviceChannel); } };