Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only log matched svc with np (#1287)
When kube-ovn-controller starts in a cluster with lots of services, the previous empty match log will flood the screen: ``` I0208 00:31:03.804692 1 network_policy.go:789] match svc is [] I0208 00:31:03.804757 1 network_policy.go:789] match svc is [] I0208 00:31:03.804775 1 network_policy.go:789] match svc is [] I0208 00:31:03.804785 1 network_policy.go:789] match svc is [] I0208 00:31:03.804793 1 network_policy.go:789] match svc is [] I0208 00:31:03.804802 1 network_policy.go:789] match svc is [] I0208 00:31:03.804810 1 network_policy.go:789] match svc is [] I0208 00:31:03.804821 1 network_policy.go:789] match svc is [] I0208 00:31:03.804832 1 network_policy.go:789] match svc is [] ```
- Loading branch information