@cryptotaxi247 / netdata-1 / commits / 8c602ff5d

pandas collector replace `self.warn()` with `self.warning()` (#14736)

Andrew Maguire committed Mar 15, 2023 at 17:34 UTC 8c602ff5db599bbab00cc89d8fdb0ea839805240
1 file changed +2 -2
collectors/python.d.plugin/pandas/pandas.chart.py
+2 -2
@@ -53,10 +53,10 @@ class Service(SimpleService):
53 """ensure charts and dims all configured and that we can get data"""
54
55 if not HAS_REQUESTS:
56 - self.warn('requests library could not be imported')
56 + self.warning('requests library could not be imported')
57
58 if not HAS_SQLALCHEMY:
59 - self.warn('sqlalchemy library could not be imported')
59 + self.warning('sqlalchemy library could not be imported')
60
61 if not self.chart_configs:
62 self.error('chart_configs must be defined')