Skip to content

Commit

Permalink
[#9631] Fix type for GrpcAgentInfoHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
intr3p1d committed Aug 18, 2023
1 parent 61e7e42 commit 2337eb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public GrpcAgentInfoHandler(AgentInfoService agentInfoService, GrpcAgentInfoBoMa

@Override
public int type() {
return DefaultTBaseLocator.APIMETADATA;
return DefaultTBaseLocator.AGENT_INFO;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,8 @@

<bean id="grpcTcpDispatchHandler" class="com.navercorp.pinpoint.collector.receiver.AgentDispatchHandler">
<constructor-arg index="0" ref="grpcAgentInfoHandler"/>
<constructor-arg index="1" ref="metaDataHandlers"/>
</bean>

<util:list id="metaDataHandlers">
<ref bean="grpcSqlMetaDataHandler"/>
<ref bean="grpcApiMetaDataHandler"/>
<ref bean="grpcStringMetaDataHandler"/>
<ref bean="grpcExceptionMetaDataHandler"/>
</util:list>

<bean id="grpcDispatchHandlerFactoryBean" class="com.navercorp.pinpoint.collector.receiver.DispatchHandlerFactoryBean">
<property name="dispatchHandler" ref="grpcTcpDispatchHandler"/>
<property name="handlerManager" ref="handlerManager"/>
Expand Down

0 comments on commit 2337eb2

Please sign in to comment.