smartd_log: use `del_dimension` instead of `hide_dimension` to… (#6547)
Ilya Mashchenko committed
Jul 29, 2019 at 22:20 UTC
b56f03cb710a5f5a714356e1853693dbe62751e0
1 file changed
+1
-2
collectors/python.d.plugin/smartd_log/smartd_log.chart.py
+1
-2
@@ -750,5 +750,4 @@ class Service(SimpleService):
750
if not chart_id or chart_id not in self.charts:
751
continue
752
753
- # TODO: can't delete dimension
754
- self.charts[chart_id].hide_dimension('{0}_{1}'.format(disk.name, attr.name))
753
+ self.charts[chart_id].del_dimension('{0}_{1}'.format(disk.name, attr.name))