mirror of https://github.com/status-im/consul.git
mesh: call the right mapper (#18818)
This commit is contained in:
parent
66e1cdf40c
commit
9c1a1ffcde
|
@ -83,7 +83,7 @@ func Controller(
|
|||
*/
|
||||
|
||||
return controller.ForType(types.ProxyStateTemplateType).
|
||||
WithWatch(catalog.ServiceType, mapper.MapServiceEndpointsToProxyStateTemplate).
|
||||
WithWatch(catalog.ServiceType, mapper.MapServiceToProxyStateTemplate).
|
||||
WithWatch(catalog.ServiceEndpointsType, mapper.MapServiceEndpointsToProxyStateTemplate).
|
||||
WithWatch(types.UpstreamsType, mapper.MapDestinationsToProxyStateTemplate).
|
||||
WithWatch(types.ProxyConfigurationType, mapper.MapProxyConfigurationToProxyStateTemplate).
|
||||
|
|
Loading…
Reference in New Issue