Merge pull request #361 from ascrutae/zhangxin/fix/contextmanger-issue

fix create segment failed
This commit is contained in:
吴晟 Wu Sheng 2017-08-17 17:52:14 +08:00 committed by GitHub
commit 998c04e002
1 changed files with 1 additions and 1 deletions

View File

@ -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))) {