add omreport support #69

Merged
Solvik merged 4 commits from storage_omreport into master 2019-09-10 11:44:24 +02:00
Showing only changes of commit 90c244283c - Show all commits

View file

@ -70,7 +70,7 @@ class OmreportRaid(Raid):
for obj in controller_xml.find('Controllers').findall('DCStorageObject'):
ctrl_index = get_field(obj, 'ControllerNum')
self.controllers.append(
OmreportController(ctrl_index, controller_xml)
OmreportController(ctrl_index, obj)
)
def get_controllers(self):