Skip to content

Commit

Permalink
[pinpoint-apm#8934] Change existing agent list lookup policy in inspe…
Browse files Browse the repository at this point in the history
…ctor
  • Loading branch information
intr3p1d committed Jun 23, 2022
1 parent 3668b54 commit ea635f4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public ApplicationAgentsList getAgentList(
@RequestParam("from") long from,
@RequestParam("to") long to) {
AgentInfoFilter containerFilter = new AgentInfoFilterChain(
AgentInfoFilter::filterServer,
new DefaultAgentInfoFilter(from)
);
long timestamp = to;
Expand All @@ -101,7 +100,6 @@ public ApplicationAgentsList getAgentList(
@RequestParam("application") String applicationName,
@RequestParam("timestamp") long timestamp) {
AgentInfoFilter runningContainerFilter = new AgentInfoFilterChain(
AgentInfoFilter::filterServer,
new DefaultAgentInfoFilter(Long.MAX_VALUE)
);
return this.agentInfoService.getApplicationAgentsList(ApplicationAgentsList.GroupBy.HOST_NAME, runningContainerFilter, applicationName, timestamp);
Expand Down

0 comments on commit ea635f4

Please sign in to comment.