mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-05 21:05:46 +01:00
feature: add option to switch to master again
This commit is contained in:
@@ -2992,7 +2992,7 @@ class CloudManager:
|
||||
def SyncToMaster(self):
|
||||
try:
|
||||
|
||||
command = '/usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/ClusterManager.py --function SyncToMaster --type Master'
|
||||
command = '/usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/ClusterManager.py --function SyncToMaster --type Failover'
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
final_json = json.dumps({'status': 1})
|
||||
|
||||
Reference in New Issue
Block a user