Fixing lint issues

This commit is contained in:
William Welter 2024-01-04 14:52:32 +00:00
parent a7de8f89c4
commit b2072a2b24

View file

@ -511,7 +511,7 @@ class MySQL_Info(object):
def __get_slave_status(self): def __get_slave_status(self):
"""Get slave status if the instance is a slave.""" """Get slave status if the instance is a slave."""
if(self.is_mariadb()): if self.is_mariadb():
res = self.__exec_sql('SHOW ALL SLAVES STATUS') res = self.__exec_sql('SHOW ALL SLAVES STATUS')
else: else:
res = self.__exec_sql('SHOW SLAVE STATUS') res = self.__exec_sql('SHOW SLAVE STATUS')