Skip to content

Commit

Permalink
crd not storageClass
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed Nov 30, 2021
1 parent 213d518 commit 4d0eaf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/analyze/crd.go
Expand Up @@ -30,8 +30,8 @@ func analyzeCustomResourceDefinition(analyzer *troubleshootv1beta2.CustomResourc
IconURI: "https://troubleshoot.sh/images/analyzer-icons/custom-resource-definition.svg?w=13&h=16",
}

for _, storageClass := range crds {
if storageClass.Name == analyzer.CustomResourceDefinitionName {
for _, crd := range crds {
if crd.Name == analyzer.CustomResourceDefinitionName {
result.IsPass = true
for _, outcome := range analyzer.Outcomes {
if outcome.Pass != nil {
Expand Down

0 comments on commit 4d0eaf4

Please sign in to comment.