feature: add option to switch to master again

This commit is contained in:
Usman Nasir
2021-04-18 01:31:05 +05:00
parent 64ca25336e
commit 4923f060fd
4 changed files with 59 additions and 2 deletions

View File

@@ -50,8 +50,12 @@ def router(request):
return cm.DetachCluster()
elif controller == 'DebugCluster':
return cm.DebugCluster()
elif controller == 'CheckMasterNode':
return cm.CheckMasterNode()
elif controller == 'UptimeMonitor':
return cm.UptimeMonitor()
elif controller == 'SyncToMaster':
return cm.SyncToMaster()
elif controller == 'FetchMasterBootStrapStatus':
return cm.FetchMasterBootStrapStatus()
elif controller == 'FetchChildBootStrapStatus':