1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-10 09:50:58 +02:00

Fix some golint issues (#1894)

Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
Hu Shuai 2021-05-10 23:27:59 +08:00 committed by GitHub
parent 79d9852e96
commit 97eea6c32f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ func WithInsecureTraces() Option {
return otlpconfig.WithInsecureTraces()
}
// WithInsecure tells the driver to connect to the metrics collector using the
// WithInsecureMetrics tells the driver to connect to the metrics collector using the
// HTTP scheme, instead of HTTPS.
func WithInsecureMetrics() Option {
return otlpconfig.WithInsecureMetrics()

View File

@ -40,7 +40,7 @@ func NewHarness(t *testing.T) *Harness {
}
}
// TestTracer runs validation tests for an implementation of the OpenTelemetry
// TestTracerProvider runs validation tests for an implementation of the OpenTelemetry
// TracerProvider API.
func (h *Harness) TestTracerProvider(subjectFactory func() trace.TracerProvider) {
h.t.Run("#Start", func(t *testing.T) {