mesh: call the right mapper (#18818)

This commit is contained in:
R.B. Boyer 2023-09-14 17:43:05 -05:00 committed by GitHub
parent 66e1cdf40c
commit 9c1a1ffcde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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).