Skip to content

Commit

Permalink
Merge pull request #563 from DMTF/Fix562-Collection-Capabilities
Browse files Browse the repository at this point in the history
Updated regex used to determine if a property is an array to not collide with the collection capabilities term
  • Loading branch information
mraineri committed Sep 22, 2023
2 parents d6d952c + 568fced commit 75d16c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redfish_service_validator/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def IsCollection(self):
else:
tree.append(my_type)
break
return any([re.match(r'Collection(.*)', typ) for typ in tree])
return any([re.match(r'Collection\((.*)', typ) for typ in tree])

def getCollectionType(self):
my_new_type = stripCollection(self.fulltype)
Expand Down

0 comments on commit 75d16c0

Please sign in to comment.