mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update sql_mysql.py
This commit is contained in:
@@ -572,7 +572,6 @@ class nosqlMySQLCtr():
|
||||
return mw.returnData(False,'无法链接')
|
||||
|
||||
slave_info = my_instance.find('SHOW SLAVE STATUS')
|
||||
|
||||
if len(slave_info) == 0:
|
||||
return mw.returnData(True, 'ok', '未开启从库!')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user