From 9c1a1ffcde7e9dab65bcefa1b09a354f30920b87 Mon Sep 17 00:00:00 2001 From: "R.B. Boyer" <4903+rboyer@users.noreply.github.com> Date: Thu, 14 Sep 2023 17:43:05 -0500 Subject: [PATCH] mesh: call the right mapper (#18818) --- internal/mesh/internal/controllers/sidecarproxy/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/mesh/internal/controllers/sidecarproxy/controller.go b/internal/mesh/internal/controllers/sidecarproxy/controller.go index 6f963db49d..2e3649cbcf 100644 --- a/internal/mesh/internal/controllers/sidecarproxy/controller.go +++ b/internal/mesh/internal/controllers/sidecarproxy/controller.go @@ -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).