Correct the service node type. (#4833)

This commit is contained in:
吴晟 Wu Sheng 2020-05-27 20:38:02 +08:00 committed by GitHub
parent 594fb15b53
commit 37940beccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ public class SegmentAnalysisListener implements FirstAnalysisListener, EntryAnal
if (StringUtil.isEmpty(serviceId)) {
serviceName = namingControl.formatServiceName(segmentObject.getService());
serviceId = IDManager.ServiceID.buildId(
serviceName, NodeType.fromSpanLayerValue(span.getSpanLayer()));
serviceName, NodeType.Normal);
}
endpointId = IDManager.EndpointID.buildId(