From d20fc722f2db113e75ecdbcf84503e6e37a4577c Mon Sep 17 00:00:00 2001 From: NiaoGe Date: Wed, 22 Apr 2020 11:34:53 +0800 Subject: [PATCH] Fix typo trace.Exporter to trace.SpanSyncer (#653) Co-authored-by: Joshua MacDonald --- exporters/trace/jaeger/jaeger.go | 2 +- exporters/trace/stdout/stdout.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exporters/trace/jaeger/jaeger.go b/exporters/trace/jaeger/jaeger.go index c47a8984e..167bd627d 100644 --- a/exporters/trace/jaeger/jaeger.go +++ b/exporters/trace/jaeger/jaeger.go @@ -179,7 +179,7 @@ type Process struct { Tags []core.KeyValue } -// Exporter is an implementation of trace.Exporter that uploads spans to Jaeger. +// Exporter is an implementation of trace.SpanSyncer that uploads spans to Jaeger. type Exporter struct { process *gen.Process bundler *bundler.Bundler diff --git a/exporters/trace/stdout/stdout.go b/exporters/trace/stdout/stdout.go index c3ca40520..b78461a36 100644 --- a/exporters/trace/stdout/stdout.go +++ b/exporters/trace/stdout/stdout.go @@ -33,7 +33,7 @@ type Options struct { PrettyPrint bool } -// Exporter is an implementation of trace.Exporter that writes spans to stdout. +// Exporter is an implementation of trace.SpanSyncer that writes spans to stdout. type Exporter struct { pretty bool outputWriter io.Writer