mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-17 07:41:25 +00:00
chore: removing field
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
@@ -88,10 +88,9 @@ func (analyzer CronJobAnalyzer) Analyze(a common.Analyzer) ([]common.Result, err
|
||||
|
||||
for key, value := range preAnalysis {
|
||||
currentAnalysis := common.Result{
|
||||
Kind: "CronJob",
|
||||
Name: key,
|
||||
Error: value.FailureDetails,
|
||||
ParentObject: "",
|
||||
Kind: "CronJob",
|
||||
Name: key,
|
||||
Error: value.FailureDetails,
|
||||
}
|
||||
a.Results = append(results, currentAnalysis)
|
||||
}
|
||||
|
@@ -63,10 +63,9 @@ func (NetworkPolicyAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error)
|
||||
|
||||
for key, value := range preAnalysis {
|
||||
currentAnalysis := common.Result{
|
||||
Kind: "NetworkPolicy",
|
||||
Name: key,
|
||||
Error: value.FailureDetails,
|
||||
ParentObject: "",
|
||||
Kind: "NetworkPolicy",
|
||||
Name: key,
|
||||
Error: value.FailureDetails,
|
||||
}
|
||||
a.Results = append(a.Results, currentAnalysis)
|
||||
}
|
||||
|
Reference in New Issue
Block a user