From 987c483db7b83fe7751cd65b9102516d42c557ad Mon Sep 17 00:00:00 2001 From: ascrutae Date: Thu, 17 Aug 2017 17:28:34 +0800 Subject: [PATCH] fix create segment failed --- .../org/skywalking/apm/agent/core/context/ContextManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/ContextManager.java b/apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/ContextManager.java index 1954b7a85a..c950031f7a 100644 --- a/apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/ContextManager.java +++ b/apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/ContextManager.java @@ -39,7 +39,7 @@ public class ContextManager implements TracingContextListener, BootService, Igno context = new IgnoredTracerContext(); } else { if (RemoteDownstreamConfig.Agent.APPLICATION_ID != DictionaryUtil.nullValue() - || RemoteDownstreamConfig.Agent.APPLICATION_INSTANCE_ID != DictionaryUtil.nullValue() + && RemoteDownstreamConfig.Agent.APPLICATION_INSTANCE_ID != DictionaryUtil.nullValue() ) { int suffixIdx = operationName.lastIndexOf("."); if (suffixIdx > -1 && Config.Agent.IGNORE_SUFFIX.contains(operationName.substring(suffixIdx))) { -- GitLab