Skip to content

Commit

Permalink
Merge pull request #203 from smiller248/main
Browse files Browse the repository at this point in the history
Fix bug in use case detection
  • Loading branch information
mraineri authored Apr 19, 2024
2 parents fad9e08 + 554803f commit 9b61729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redfish_interop_validator/validateResource.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def validateURITree(URI, profile, uriName, expectedType=None, expectedSchema=Non
resource_stats[SchemaType]['Exists'] = True
resource_stats[SchemaType]['URIsFound'].append(link.rstrip('/'))
resource_stats[SchemaType]['SubordinateTo'].add(tuple(reversed(subordinate_tree)))
resource_stats[SchemaType]['UseCasesFound'].union(usecases_found)
resource_stats[SchemaType]['UseCasesFound'] = resource_stats[SchemaType]['UseCasesFound'].union(usecases_found)

if refLinks is not currentLinks and len(newLinks) == 0 and len(refLinks) > 0:
currentLinks = refLinks
Expand Down

0 comments on commit 9b61729

Please sign in to comment.