@cryptotaxi247 / netdata-1 / commits / 0ab6708fa

mysql: do not remove `slave_status` from queries in module (#6617)

Ilya Mashchenko committed Aug 8, 2019 at 11:25 UTC 0ab6708fae599b9f490e1dc073292c8feb492f62
1 file changed +2 -3
collectors/python.d.plugin/mysql/mysql.chart.py
+2 -3
@@ -695,9 +695,8 @@ class Service(MySQLService):
695
696 if 'slave_status' in raw_data:
697 status = self.get_slave_status(raw_data['slave_status'])
698 - data.update(status)
699 - else:
700 - self.queries.pop('slave_status')
698 + if status:
699 + data.update(status)
700
701 if 'user_statistics' in raw_data:
702 if raw_data['user_statistics'][0]: