We shouldn't panic in a reconcile loop, this results in issues with the controller crashing and blocking subsequent messages from being pulled from the queue. We should handle this more gracefully to prevent the controller crashing.
|
panic("Can't unmarshal facts") |
We shouldn't panic in a reconcile loop, this results in issues with the controller crashing and blocking subsequent messages from being pulled from the queue. We should handle this more gracefully to prevent the controller crashing.
insights-handler/internal/handler/insightsParserFilter.go
Line 57 in 25cd127
insights-handler/internal/handler/insightsFactsParserFilter.go
Line 56 in 25cd127