git-hulk commented on code in PR #324:
URL: 
https://github.com/apache/kvrocks-controller/pull/324#discussion_r2203218509


##########
server/route.go:
##########
@@ -69,7 +69,7 @@ func (srv *Server) initHandlers() {
                        clusters.POST("/:cluster/import", 
middleware.RequiredNamespace, handler.Cluster.Import)
                        clusters.GET("/:cluster", middleware.RequiredCluster, 
handler.Cluster.Get)
                        clusters.DELETE("/:cluster", 
middleware.RequiredCluster, handler.Cluster.Remove)
-                       clusters.POST("/:cluster/migrate", 
middleware.RequiredCluster, handler.Cluster.MigrateSlot)
+                       clusters.POST("/:cluster/migrate", 
handler.Cluster.MigrateSlot)

Review Comment:
   @greatsharp Why do we need to remove this middleware?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to