fix(微服务平台): 微服务编排根据别名进行查询无法查询出结果

This commit is contained in:
OTTO 2025-09-08 08:38:26 +08:00
parent 631f6752a6
commit 1f3d65fd39
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ public class MonCommonAsyncServiceImpl extends CommonService implements IMonComm
List<K8sApplication> k8sApplicationList = rancherApplicationVoList
.stream()
.map(RancherApplicationVo::toK8sApplication)
.filter(x -> StringUtils.isEmpty(search) || x.getName().contains(search))
.filter(x -> StringUtils.isEmpty(search) || x.getName().contains(search) || x.getAlias().contains(search))
.collect(Collectors.toList());
CountDownLatch podCountDownLatch = new CountDownLatch(k8sNamespaceList.size());