diff --git a/pkg/converters/converters.go b/pkg/converters/converters.go index 91abf5e45..358734c6b 100644 --- a/pkg/converters/converters.go +++ b/pkg/converters/converters.go @@ -82,7 +82,7 @@ func (c *converters) Sync() { // // configmap converters // - if needFullSync || changed.TCPConfigMapDataNew != nil { + if changed.TCPConfigMapDataCur != nil { tcpSvcConverter := configmap.NewTCPServicesConverter(c.options, c.haproxy, changed) tcpSvcConverter.Sync() c.timer.Tick("parse_tcp_svc")