Browse Source

add failover check ctx

abhishek9686 7 months ago
parent
commit
3508f9e9cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pro/controllers/failover.go

+ 1 - 1
pro/controllers/failover.go

@@ -297,7 +297,7 @@ func failOverME(w http.ResponseWriter, r *http.Request) {
 }
 
 // @Summary     Failover me
-// @Router      /api/v1/node/{nodeid}/failover_check [post]
+// @Router      /api/v1/node/{nodeid}/failover_check [get]
 // @Tags        PRO
 // @Param       nodeid path string true "Node ID"
 // @Accept      json