Skip to content

[release-1.15] analysis: optimize performance and fix dead loop#40682

Merged
istio-testing merged 2 commits intoistio:release-1.15from
istio-testing:cherry-pick-40595-to-release-1.15
Aug 26, 2022
Merged

[release-1.15] analysis: optimize performance and fix dead loop#40682
istio-testing merged 2 commits intoistio:release-1.15from
istio-testing:cherry-pick-40595-to-release-1.15

Conversation

@istio-testing
Copy link
Copy Markdown
Collaborator

This is an automated cherry-pick of #40595

Two fixes:

1. We are infinite loop on stop when it triggers. `break` is for the
   switch, not the `for`.
2. No need to use regex
@istio-testing istio-testing requested a review from a team August 26, 2022 18:19
@istio-policy-bot
Copy link
Copy Markdown

🤔 🐛 You appear to be fixing a bug in Go code, yet your PR doesn't include updates to any test files. Did you forget to add a test?

Courtesy of your friendly test nag.

@istio-testing istio-testing added the release-notes-none Indicates a PR that does not require release notes. label Aug 26, 2022
@istio-testing istio-testing added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 26, 2022
@istio-testing istio-testing merged commit 17d7ca3 into istio:release-1.15 Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes-none Indicates a PR that does not require release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants