fix: fix logging for unsupported upstream protocols in EnvoyFilter construction (#3801)

Signed-off-by: CH3CHO <ch3cho@qq.com>
This commit is contained in:
Kent Dong
2026-05-12 09:30:49 +08:00
committed by GitHub
parent 6d50e2da42
commit 148ef6905e

View File

@@ -1759,7 +1759,7 @@ func constructProxyEnvoyFilters(proxyWrappers map[string]*common.ProxyWrapper, s
continue
}
if !proxyConfig.UpstreamProtocol.IsSupportedByProxy() {
IngressLog.Warnf("Proxy %s does not support upstream protocol %s, skipping EnvoyFilter construction for service %s")
IngressLog.Warnf("Proxy %s does not support upstream protocol %s, skipping EnvoyFilter construction for service %s", proxyConfig.ProxyName, proxyConfig.UpstreamProtocol, serviceWrapper.ServiceName)
continue
}
if proxyWrapper.EnvoyFilter == nil {