This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch uri-svr
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/uri-svr by this push:
     new a4535ecdf4 Fix codes.
a4535ecdf4 is described below

commit a4535ecdf4b9fa155c57e988ff307e10ae671520
Author: Wu Sheng <[email protected]>
AuthorDate: Tue Jun 20 11:28:18 2023 +0800

    Fix codes.
---
 .../skywalking/oap/server/core/config/group/EndpointNameGrouping.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java
 
b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java
index ac9a984664..a2c1bc8e0d 100644
--- 
a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java
+++ 
b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java
@@ -103,7 +103,7 @@ public class EndpointNameGrouping {
                         formattedName._1(), new ArrayBlockingQueue<>(10));
                     if (formattedURIs.size() < 10) {
                         // Try to push the raw URI as a candidate of formatted 
name.
-                        formattedURIs.offer(serviceName);
+                        formattedURIs.offer(endpointName);
                     }
                 } else {
                     svrHttpUris.putIfAbsent(

Reply via email to