We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6f5b40 + 8edeb2f commit 894aa6cCopy full SHA for 894aa6c
redfish_service_validator/catalog.py
@@ -1101,10 +1101,10 @@ def getLinks(self, collectionlimit={}):
1101
if n == 'Actions':
1102
new_type = item.Type.catalog.getTypeInCatalog('ActionInfo.ActionInfo')
1103
act_iter = self.act_iterator(item.Value)
1104
- for act in act_iter:
+ for num, act in enumerate(act_iter):
1105
uri = act.get('@Redfish.ActionInfo')
1106
if isinstance(uri, str):
1107
- my_link = RedfishObject(new_type, 'ActionInfo', item).populate({'@odata.id': uri})
+ my_link = RedfishObject(new_type, 'ActionInfo#{}'.format(num), item).populate({'@odata.id': uri})
1108
my_link.InAnnotation = True
1109
links.append(my_link)
1110
if item.Type.IsNav:
0 commit comments