Skip to content

Commit

Permalink
support redis cluster dynamic deploy, for example 1 pod with 1 instance
Browse files Browse the repository at this point in the history
  • Loading branch information
githubname1024 committed Feb 28, 2024
1 parent b4447c2 commit 96ee181
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -656,7 +656,10 @@ public ModelAndView doAddAppDeployTask(HttpServletRequest request,
logger.info("pikaMachines:{} ,num:{} ", pikaMachines, pikaNum);
logger.info("moduleinfos:{} ", moduleinfos);
try {
List<String> appDeployInfolist = Arrays.asList(appDeployInfo.split("\n"));
List<String> appDeployInfolist = new ArrayList<>();
if(StringUtils.isNotEmpty(appDeployInfo)){
appDeployInfolist = Arrays.asList(appDeployInfo.split("\n"));
}
List<String> redisMachinelist = Arrays.asList(redisMachines.split(";"));
List<String> sentinelMachinelist = Arrays.asList(sentinelMachines.split(";"));
List<String> twemproxyMachinelist = Arrays.asList(twemproxyMachines.split(";"));
Expand Down

0 comments on commit 96ee181

Please sign in to comment.