Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
egressgw: policy: stop iterating through nodes after first match
in regenerateGatewayConfig(), once a node that matches the given policy is found, there's no need to keep iterating through the rest of the nodes, so let's just return to the caller Suggested-by: Julian Wiedmann <jwi@isovalent.com> Signed-off-by: Gilberto Bertin <jibi@cilium.io>
- Loading branch information