Merge pull request #1303 from eugenp/BAEL-574-zipkin

BAEL-574 - Removing redundant pattern check
This commit is contained in:
slavisa-baeldung 2017-03-05 09:58:15 +01:00 committed by GitHub
commit 181688a765
2 changed files with 2 additions and 3 deletions

View File

@ -45,7 +45,6 @@ public class BookServiceApplication {
delegate = new HttpZipkinSpanReporter(baseUrl, zipkinProperties.getFlushInterval(), zipkinProperties.getCompression().isEnabled(), spanMetricReporter); delegate = new HttpZipkinSpanReporter(baseUrl, zipkinProperties.getFlushInterval(), zipkinProperties.getCompression().isEnabled(), spanMetricReporter);
if (!span.name.matches(skipPattern)) delegate.report(span); if (!span.name.matches(skipPattern)) delegate.report(span);
} }
if (!span.name.matches(skipPattern)) delegate.report(span);
} }
}; };
} }

View File

@ -10,6 +10,6 @@ import zipkin.server.EnableZipkinServer;
@EnableZipkinServer @EnableZipkinServer
public class ZipkinApplication { public class ZipkinApplication {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(ZipkinApplication.class, args); SpringApplication.run(ZipkinApplication.class, args);
} }
} }