Skip to content

Commit d37dd58

Browse files
committed
[#noissue] Fix AgentList to be created with the given sorting rule
1 parent 4dbf95d commit d37dd58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/main/java/com/navercorp/pinpoint/web/service/AgentInfoServiceImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public AgentsMapByHost getAgentsListByApplicationName(AgentStatusFilter filter,
157157

158158
AgentsMapByHost agentsMapByHost = AgentsMapByHost.newAgentsMapByHost(
159159
activeAgentFilter,
160-
SortByAgentInfo.agentIdAsc(AgentStatusAndLink::getAgentInfo),
160+
SortByAgentInfo.comparing(AgentStatusAndLink::getAgentInfo, sortBy.getRule()),
161161
hyperLinkFactory,
162162
agentInfoAndStatuses
163163
);

0 commit comments

Comments
 (0)