Skip to content

Commit

Permalink
chore: removing field
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
  • Loading branch information
AlexsJones committed Apr 14, 2023
1 parent 19e1b94 commit ddb51c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions pkg/analyzer/cronjob.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
7 changes: 3 additions & 4 deletions pkg/analyzer/netpol.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit ddb51c7

Please sign in to comment.