Skip to content

Commit

Permalink
fix: Change ObjectMeta value in Ingress analyser.
Browse files Browse the repository at this point in the history
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io>
  • Loading branch information
Aris Boutselis committed Mar 29, 2023
1 parent 86c7e81 commit bf49a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/analyzer/ingressAnalyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func AnalyzeIngress(ctx context.Context, config *AnalysisConfiguration, client *
Error: value.FailureDetails,
}

parent, _ := util.GetParent(client, value.Endpoint.ObjectMeta)
parent, _ := util.GetParent(client, value.Ingress.ObjectMeta)
currentAnalysis.ParentObject = parent
*analysisResults = append(*analysisResults, currentAnalysis)
}
Expand Down

0 comments on commit bf49a51

Please sign in to comment.