Skip to content

Commit

Permalink
[receiver/cloudfoundryreceiver] Update comments in receiver.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Clulow <[email protected]>
  • Loading branch information
CemDK and m1rp committed Jun 3, 2024
1 parent ed2861a commit 2dc0a1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions receiver/cloudfoundryreceiver/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
var _ receiver.Metrics = (*cloudFoundryReceiver)(nil)
var _ receiver.Logs = (*cloudFoundryReceiver)(nil)

// newCloudFoundryReceiver implements the receiver.Metrics for Cloud Foundry protocol.
// newCloudFoundryReceiver implements the receiver.Metrics and receiver.Logs for the Cloud Foundry protocol.
type cloudFoundryReceiver struct {
settings component.TelemetrySettings
cancel context.CancelFunc
Expand All @@ -40,7 +40,7 @@ type cloudFoundryReceiver struct {
receiverStartTime time.Time
}

// newCloudFoundryReceiver creates the Cloud Foundry receiver with the given parameters.
// newCloudFoundryMetricsReceiver creates the Cloud Foundry metrics receiver with the given parameters.
func newCloudFoundryMetricsReceiver(
settings receiver.CreateSettings,
config Config,
Expand All @@ -64,6 +64,7 @@ func newCloudFoundryMetricsReceiver(
return result, nil
}

// newCloudFoundryLogsReceiver creates the Cloud Foundry logs receiver with the given parameters.
func newCloudFoundryLogsReceiver(
settings receiver.CreateSettings,
config Config,
Expand Down

0 comments on commit 2dc0a1c

Please sign in to comment.