Skip to content

Commit

Permalink
[chore] clean up comments (open-telemetry#23643)
Browse files Browse the repository at this point in the history
found a bunch of double commented out statements

Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten committed Jun 22, 2023
1 parent 1805447 commit bab80bf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ func newMetrics(metricType pmetric.MetricType, ts pcommon.Timestamp) pmetric.Met
rms := metrics.ResourceMetrics().AppendEmpty()
rms.Resource().Attributes().PutStr("key", "value")
rms.Resource().Attributes().PutStr(hostkey, testhost)
// // Scope metric in a metric
// Scope metric in a metric
sms := rms.ScopeMetrics().AppendEmpty()
scope := sms.Scope()
scope.SetName("SN")
Expand Down
4 changes: 2 additions & 2 deletions pkg/stanza/adapter/receiver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func BenchmarkReadLine(b *testing.B) {
"test",
)

// // Run the actual benchmark
// Run the actual benchmark
b.ResetTimer()
require.NoError(b, pipe.Start(storageClient))
for i := 0; i < b.N; i++ {
Expand Down Expand Up @@ -220,7 +220,7 @@ func BenchmarkParseAndMap(b *testing.B) {
"test",
)

// // Run the actual benchmark
// Run the actual benchmark
b.ResetTimer()
require.NoError(b, pipe.Start(storageClient))
for i := 0; i < b.N; i++ {
Expand Down
2 changes: 1 addition & 1 deletion pkg/stanza/operator/transformer/remove/remove_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// // Copyright The OpenTelemetry Authors
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
package remove

Expand Down
4 changes: 2 additions & 2 deletions receiver/solacereceiver/messaging_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func TestNewAMQPMessagingServiceFactory(t *testing.T) {
},
wantErr: true,
},
// // yes tls success secure
// yes tls success secure
{
name: "expecting success with TLS expecting an amqps connection",
cfg: &Config{ // invalid to only provide a key file
Expand All @@ -128,7 +128,7 @@ func TestNewAMQPMessagingServiceFactory(t *testing.T) {
logger: logger,
},
},
// // no tls success plaintext
// no tls success plaintext
{
name: "expecting success without TLS expecting an amqp connection",
cfg: &Config{ // invalid to only provide a key file
Expand Down

0 comments on commit bab80bf

Please sign in to comment.