mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-22 11:47:10 +00:00
If there is an issue in creating the Analysis config when calling analysis.NewAnalysis, then we want to check before assigning the context to a potentially nil pointer. Signed-off-by: Danny Clark <danielclark@google.com> Co-authored-by: Alex Jones <alexsimonjones@gmail.com>