diff --git a/core/pkg/ingress/controller/controller.go b/core/pkg/ingress/controller/controller.go index 29e889f6a0..46679ee99a 100644 --- a/core/pkg/ingress/controller/controller.go +++ b/core/pkg/ingress/controller/controller.go @@ -992,7 +992,7 @@ func (ic *GenericController) getEndpoints( } // check for invalid port value - if targetPort <=0 { + if targetPort <= 0 { continue }