Skip to content

Commit a297921

Browse files
committed
fix: state type
1 parent 2382d0e commit a297921

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/sources/reference/components/otelcol/otelcol.receiver.awss3.md

Whitespace-only changes.

internal/converter/internal/otelcolconvert/converter_awss3receiver.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func (awss3ReceiverConverter) ConvertAndAppend(state *State, id componentstatus.
4343

4444
func toAWSS3Receiver(state *State, id componentstatus.InstanceID, cfg *awss3receiver.Config) (*awss3.Arguments, diag.Diagnostics) {
4545
var diags diag.Diagnostics
46-
nextLogs := state.Next(id, pipeline.SignalLogs)
46+
nextTraces := state.Next(id, pipeline.SignalTraces)
4747

4848
// TODO(x1unix): map Encodings
4949
if len(cfg.Encodings) > 0 {
@@ -74,7 +74,7 @@ func toAWSS3Receiver(state *State, id componentstatus.InstanceID, cfg *awss3rece
7474
S3ForcePathStyle: cfg.S3Downloader.S3ForcePathStyle,
7575
},
7676
Output: &otelcol.ConsumerArguments{
77-
Logs: ToTokenizedConsumers(nextLogs),
77+
Traces: ToTokenizedConsumers(nextTraces),
7878
},
7979
}
8080

0 commit comments

Comments
 (0)