You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by wu...@apache.org on 2018/06/12 04:26:49 UTC
[incubator-skywalking] branch master updated: fix operation name
(#1343)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new 6ad2f53 fix operation name (#1343)
6ad2f53 is described below
commit 6ad2f53ac002a5ab128d4b03c2d9207e3d4334a3
Author: lican <li...@foxmail.com>
AuthorDate: Tue Jun 12 12:26:35 2018 +0800
fix operation name (#1343)
---
.../skywalking/apm/plugin/spring/mvc/commons/PathMappingCache.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apm-sniffer/apm-sdk-plugin/spring-plugins/mvc-annotation-commons/src/main/java/org/apache/skywalking/apm/plugin/spring/mvc/commons/PathMappingCache.java b/apm-sniffer/apm-sdk-plugin/spring-plugins/mvc-annotation-commons/src/main/java/org/apache/skywalking/apm/plugin/spring/mvc/commons/PathMappingCache.java
index 494b800..45b6474 100644
--- a/apm-sniffer/apm-sdk-plugin/spring-plugins/mvc-annotation-commons/src/main/java/org/apache/skywalking/apm/plugin/spring/mvc/commons/PathMappingCache.java
+++ b/apm-sniffer/apm-sdk-plugin/spring-plugins/mvc-annotation-commons/src/main/java/org/apache/skywalking/apm/plugin/spring/mvc/commons/PathMappingCache.java
@@ -53,6 +53,6 @@ public class PathMappingCache {
&& !classPath.endsWith(PATH_SEPARATOR)) {
methodPath = PATH_SEPARATOR + methodPath;
}
- methodPathMapping.put(method, classPath + methodPath);
+ methodPathMapping.put(method, (classPath + methodPath).replace("//","/"));
}
}
--
To stop receiving notification emails like this one, please contact
wusheng@apache.org.