Fix for Moonshot platform

- Fix to not crash although Moonshot Redfish is 0.95 even with firmware
  1.41
This commit is contained in:
Uggla 2016-04-05 19:20:11 +02:00
parent 846952810a
commit 0480f72fda

View File

@ -66,6 +66,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())