Update index.py

This commit is contained in:
midoks 2023-08-07 21:05:22 +08:00
parent 8c00fb8859
commit 24d7204ccc
1 changed files with 1 additions and 2 deletions

View File

@ -2181,10 +2181,9 @@ def getSlaveList(version=''):
def getSlaveSyncCmd(version=''):
root = mw.getRunDir()
cmd = 'cd ' + root + ' && python3 ' + root + \
'/plugins/mysql/index.py do_full_sync {"db":"all"}'
'/plugins/mariadb/index.py do_full_sync {"db":"all"}'
return mw.returnJson(True, 'ok', cmd)