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:
parent
79d9852e96
commit
97eea6c32f
@ -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()
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user