diff options
author | Andrew Maguire <andrewm4894@gmail.com> | 2023-03-15 17:34:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-15 17:34:06 +0000 |
commit | 8c602ff5db599bbab00cc89d8fdb0ea839805240 (patch) | |
tree | e3f3385929714ed4824c1fc982db5c528d82f41e /collectors/python.d.plugin/pandas/pandas.chart.py | |
parent | 90b527cafe363f0c50b91ee4f7e738859fabe5bb (diff) |
pandas collector replace `self.warn()` with `self.warning()` (#14736)
Diffstat (limited to 'collectors/python.d.plugin/pandas/pandas.chart.py')
-rw-r--r-- | collectors/python.d.plugin/pandas/pandas.chart.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/python.d.plugin/pandas/pandas.chart.py b/collectors/python.d.plugin/pandas/pandas.chart.py index 968b1fe668..7977bcb368 100644 --- a/collectors/python.d.plugin/pandas/pandas.chart.py +++ b/collectors/python.d.plugin/pandas/pandas.chart.py @@ -53,10 +53,10 @@ class Service(SimpleService): """ensure charts and dims all configured and that we can get data""" if not HAS_REQUESTS: - self.warn('requests library could not be imported') + self.warning('requests library could not be imported') if not HAS_SQLALCHEMY: - self.warn('sqlalchemy library could not be imported') + self.warning('sqlalchemy library could not be imported') if not self.chart_configs: self.error('chart_configs must be defined') |