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/05/28 13:56:32 UTC

[incubator-skywalking] branch master updated: Fix namespace bug (#1276)

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 dbc0f8b  Fix namespace bug (#1276)
dbc0f8b is described below

commit dbc0f8b9d2d7b6e18eb98d718709b04e205b1d7f
Author: oatiz <22...@qq.com>
AuthorDate: Mon May 28 21:56:09 2018 +0800

    Fix namespace bug (#1276)
    
    * fix #1274
---
 .../java/org/apache/skywalking/apm/agent/core/context/CarrierItem.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/CarrierItem.java b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/CarrierItem.java
index 8038507..8cb146f 100644
--- a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/CarrierItem.java
+++ b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/CarrierItem.java
@@ -39,7 +39,7 @@ public class CarrierItem implements Iterator<CarrierItem> {
         if (StringUtil.isEmpty(NAMESPACE)) {
             this.headKey = headKey;
         } else {
-            this.headKey = NAMESPACE + ":" + headValue;
+            this.headKey = NAMESPACE + "-" + headKey;
         }
         this.headValue = headValue;
         this.next = next;

-- 
To stop receiving notification emails like this one, please contact
wusheng@apache.org.