From b4447c2207e4fd07d140680b397c80f5aace0998 Mon Sep 17 00:00:00 2001 From: githubname1024 Date: Tue, 27 Feb 2024 17:43:07 +0800 Subject: [PATCH] support redis cluster dynamic deploy, for example 1 pod with 1 instance --- .../com/sohu/cache/web/controller/AppManageController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cachecloud-web/src/main/java/com/sohu/cache/web/controller/AppManageController.java b/cachecloud-web/src/main/java/com/sohu/cache/web/controller/AppManageController.java index e0200a9b..04f18c95 100644 --- a/cachecloud-web/src/main/java/com/sohu/cache/web/controller/AppManageController.java +++ b/cachecloud-web/src/main/java/com/sohu/cache/web/controller/AppManageController.java @@ -35,6 +35,7 @@ import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.servlet.ModelAndView; import javax.annotation.Resource; @@ -635,7 +636,7 @@ public ModelAndView doAddAppDeployTask(HttpServletRequest request, int sentinelNum, int pikaNum, int twemproxyNum, - String appDeployInfo, + @RequestParam(required = false) String appDeployInfo, String redisMachines, String sentinelMachines, String twemproxyMachines,