Skip to content

Commit

Permalink
Support ProxyGatewayEndpoint from legacy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenBond committed Dec 4, 2018
1 parent 8d8cd70 commit 0ec9ecd
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ private static void AddLegacyClusterConfigurationSupport(IServiceCollection serv
options.AdvertisedIPAddress = nodeConfig.Endpoint.Address;
options.SiloPort = nodeConfig.Endpoint.Port;
}

var gatewayEndpoint = nodeConfig.ProxyGatewayEndpoint;
if (gatewayEndpoint != null)
{
options.GatewayPort = gatewayEndpoint.Port;
options.GatewayListeningEndpoint = gatewayEndpoint;
}
});

services.Configure<SerializationProviderOptions>(options =>
Expand Down

0 comments on commit 0ec9ecd

Please sign in to comment.