소스 검색

add failover check ctx

abhishek9686 7 달 전
부모
커밋
3508f9e9cc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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