mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-06-19 06:40:23 -07:00
Fixing lint issues
This commit is contained in:
parent
a7de8f89c4
commit
b2072a2b24
1 changed files with 4 additions and 4 deletions
|
@ -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')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue