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