fix hpssa handle unassigned drives (#15793)
Closes: https://github.com/netdata/netdata/issues/15792
Ilya Mashchenko committed
Aug 11, 2023 at 14:09 UTC
fe2e3eea60a42861ac32d9daf1501ba287eddcb3
1 file changed
+1
-1
collectors/python.d.plugin/hpssa/hpssa.chart.py
+1
-1
@@ -182,7 +182,7 @@ class HPSSA(object):
182
break
183
elif array_regex.match(line):
184
self.parse_array(adapter)
185
- elif line == 'Unassigned' or line == 'HBA Drives':
185
+ elif line in ('Unassigned', 'unassigned') or line == 'HBA Drives':
186
self.parse_physical_drives(adapter)
187
elif ignored_sections_regex.match(line):
188
self.parse_ignored_section()