megacli plugin: adapter regex update (#4279)
Ilya Mashchenko committed
Sep 24, 2018 at 23:51 UTC
12cc2b133980018c40f7d36ca69707b16cd729fa
1 file changed
+1
-1
python.d/megacli.chart.py
+1
-1
@@ -93,7 +93,7 @@ def battery_charts(bats):
93
94
95
RE_ADAPTER = re.compile(
96
- r'Adapter #([0-9]+) State\s+: ([a-zA-Z]+)'
96
+ r'Adapter #([0-9]+) State(?:\s+)?: ([a-zA-Z]+)'
97
)
98
99
RE_VD = re.compile(