This commit is contained in:
Arseniy Fomchenko 2016-11-14 19:29:51 +03:00
parent 7f04d95193
commit 60c6c062fe

View File

@ -66,5 +66,5 @@ class Plugin(AbstractPlugin, AggregateResultListener, MonitoringDataListener):
@property
def is_telegraf(self):
if self._is_telegraf is None:
self._is_telegraph = 'Telegraf' in self.core.job.monitoring_plugin.__module__
return self._is_telegraph
self._is_telegraf = 'Telegraf' in self.core.job.monitoring_plugin.__module__
return self._is_telegraf