Skip to content

Commit

Permalink
Updated regex used to determine if a property is an array to not coll…
Browse files Browse the repository at this point in the history
…ide with the collection capabilities term

Signed-off-by: Mike Raineri <[email protected]>
  • Loading branch information
mraineri committed Sep 22, 2023
1 parent d6d952c commit 568fced
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 568fced

Please sign in to comment.