Merge pull request #62 from uggla/fixmoonshot
Fix for Moonshot platform
This commit is contained in:
commit
9a7e7a3905
@ -63,6 +63,7 @@ class Base(object):
|
||||
links = getattr(self.data, mapping.redfish_mapper.map_links())
|
||||
if link_type in links:
|
||||
return urljoin(self.url, links[link_type][mapping.redfish_mapper.map_links_ref()])
|
||||
raise AttributeError
|
||||
else:
|
||||
links = getattr(self.data, link_type)
|
||||
link = getattr(links, mapping.redfish_mapper.map_links_ref())
|
||||
|
Loading…
Reference in New Issue
Block a user