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: fix panic if the cilium-health test fails #2276

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

giorio94
Copy link
Member

Fix a possible panic occurring if the cilium-health test fails and flow validation is enabled, or --print-flow is given. Indeed, that action is configured with a nil destination (as the check has no strict destination target), in turn causing the panic during flow visualization. Hence, let's switch to creating a generic action (i.e., intended for generic assertions), effectively disabling flow collection and display.

Hit in https://github.com/cilium/cilium-cli/actions/runs/7708934175/job/21020724137?pr=2273

Fix a possible panic occurring if the cilium-health test fails and flow
validation is enabled, or --print-flow is given. Indeed, that action is
configured with a nil destination (as the check has no strict destination
target), in turn causing the panic during flow visualization. Hence,
let's switch to creating a generic action (i.e., intended for generic
assertions), effectively disabling flow collection and display.

Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
@tklauser tklauser removed the request for review from thorn3r January 31, 2024 20:17
@tklauser tklauser merged commit ff67548 into cilium:main Jan 31, 2024
13 checks passed
@giorio94 giorio94 deleted the mio/fix-health-check-panic branch February 1, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants