adaptec_raid: logical device regex fix (#6338)
Ilya Mashchenko committed
Jun 25, 2019 at 19:14 UTC
00d91c0368f7ebfb8501b1a494460d750ed2fe60
1 file changed
+2
-2
collectors/python.d.plugin/adaptec_raid/adaptec_raid.chart.py
+2
-2
@@ -56,8 +56,8 @@ GOOD_PD_STATUS = (
56
)
57
58
RE_LD = re.compile(
59
- r'Logical device number\s+([0-9]+).*?'
60
- r'Status of logical device\s+: ([a-zA-Z]+)'
59
+ r'Logical [dD]evice number\s+([0-9]+).*?'
60
+ r'Status of [lL]ogical [dD]evice\s+: ([a-zA-Z]+)'
61
)
62
63