Skip to content

Commit

Permalink
fix some typos in comments (open-telemetry#5511)
Browse files Browse the repository at this point in the history
Signed-off-by: Ziqi Zhao <[email protected]>
  • Loading branch information
fatsheep9146 authored Jun 10, 2022
1 parent 9bbfecb commit b3344f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions internal/testcomponents/example_receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func createReceiverDefaultConfig() config.Receiver {
}
}

// CreateTracesReceiver creates a trace receiver based on this config.
// createTracesReceiver creates a trace receiver based on this config.
func createTracesReceiver(
_ context.Context,
_ component.ReceiverCreateSettings,
Expand All @@ -56,7 +56,7 @@ func createTracesReceiver(
return receiver, nil
}

// CreateMetricsReceiver creates a metrics receiver based on this config.
// createMetricsReceiver creates a metrics receiver based on this config.
func createMetricsReceiver(
_ context.Context,
_ component.ReceiverCreateSettings,
Expand Down
6 changes: 3 additions & 3 deletions receiver/otlpreceiver/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func createDefaultConfig() config.Receiver {
}
}

// CreateTracesReceiver creates a trace receiver based on provided config.
// createTracesReceiver creates a trace receiver based on provided config.
func createTracesReceiver(
_ context.Context,
set component.ReceiverCreateSettings,
Expand All @@ -80,7 +80,7 @@ func createTracesReceiver(
return r, nil
}

// CreateMetricsReceiver creates a metrics receiver based on provided config.
// createMetricsReceiver creates a metrics receiver based on provided config.
func createMetricsReceiver(
_ context.Context,
set component.ReceiverCreateSettings,
Expand All @@ -97,7 +97,7 @@ func createMetricsReceiver(
return r, nil
}

// CreateLogReceiver creates a log receiver based on provided config.
// createLogReceiver creates a log receiver based on provided config.
func createLogReceiver(
_ context.Context,
set component.ReceiverCreateSettings,
Expand Down

0 comments on commit b3344f3

Please sign in to comment.