From 207a3882dcad94083620ad6c452053e4d92da56a Mon Sep 17 00:00:00 2001 From: TomPallister Date: Mon, 11 Sep 2017 21:48:49 +0100 Subject: [PATCH] attempt to fix consul problem --- .../Configuration/Creator/FileOcelotConfigurationCreator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ocelot/Configuration/Creator/FileOcelotConfigurationCreator.cs b/src/Ocelot/Configuration/Creator/FileOcelotConfigurationCreator.cs index c6f5f4fe9..9b5676d4b 100644 --- a/src/Ocelot/Configuration/Creator/FileOcelotConfigurationCreator.cs +++ b/src/Ocelot/Configuration/Creator/FileOcelotConfigurationCreator.cs @@ -178,7 +178,7 @@ private async Task SetUpReRoute(FileReRoute fileReRoute, FileGlobalConf private string CreateReRouteKey(FileReRoute fileReRoute) { //note - not sure if this is the correct key, but this is probably the only unique key i can think of given my poor brain - var loadBalancerKey = $"{fileReRoute.UpstreamPathTemplate}{fileReRoute.UpstreamHttpMethod}"; + var loadBalancerKey = $"{fileReRoute.UpstreamPathTemplate}|{string.Join(",", fileReRoute.UpstreamHttpMethod)}"; return loadBalancerKey; }