mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
crd not storageClass
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user