没有过滤条件直接返回原始Service列表
This commit is contained in:
parent
22b0ed7cc0
commit
cc27d67ef9
@ -603,6 +603,9 @@ public class ServiceManager implements RecordListener<Service> {
|
||||
}
|
||||
|
||||
public List<Service> searchServices(String namespaceId, String regex, boolean hasIpCount) {
|
||||
if(StringUtils.isBlank(regex) && !hasIpCount){
|
||||
return new ArrayList<>(chooseServiceMap(namespaceId).values());
|
||||
}
|
||||
List<Service> result = new ArrayList<>();
|
||||
for (Map.Entry<String, Service> entry : chooseServiceMap(namespaceId).entrySet()) {
|
||||
Service service = entry.getValue();
|
||||
|
Loading…
Reference in New Issue
Block a user