Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connectivity test: Fix detectFeatures() logic #2007

Merged
merged 1 commit into from
Oct 6, 2023
Merged

Conversation

michi-covalent
Copy link
Contributor

f5ac977 unintentionally changed the detectFeatures logic by calling ExtractFromConfigMap() and ExtractFromNodes() on ct.Features instead of the features variable declared at the beginning of the loop 1.

Fixes: f5ac977 ("Refactor extractFeaturesFromConfigMap()")

Footnotes

  1. https://github.com/cilium/cilium-cli/blob/f5ac9776fb217d883edc9f916cb61cb916576693/connectivity/check/features.go#L518

@michi-covalent michi-covalent temporarily deployed to ci October 5, 2023 16:32 — with GitHub Actions Inactive
@michi-covalent michi-covalent marked this pull request as ready for review October 5, 2023 16:39
@michi-covalent michi-covalent requested a review from a team as a code owner October 5, 2023 16:39
f5ac977 unintentionally changed the detectFeatures logic by calling
ExtractFromConfigMap() and ExtractFromNodes() on ct.Features instead of
the features variable declared at the beginning of the loop [^1].

Fixes: f5ac977 ("Refactor extractFeaturesFromConfigMap()")

[^1]: https://github.com/cilium/cilium-cli/blob/f5ac9776fb217d883edc9f916cb61cb916576693/connectivity/check/features.go#L518

Signed-off-by: Michi Mutsuzaki <[email protected]>
@michi-covalent michi-covalent temporarily deployed to ci October 5, 2023 22:55 — with GitHub Actions Inactive
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Oct 6, 2023
@michi-covalent michi-covalent merged commit 7115841 into main Oct 6, 2023
19 checks passed
@michi-covalent michi-covalent deleted the pr/michi/bugfix branch October 6, 2023 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants