Skip to content

Commit

Permalink
Update tools/lambda-promtail/lambda-promtail/s3.go
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Haudum <[email protected]>
  • Loading branch information
milenpankov-bosch and chaudum authored Dec 13, 2024
1 parent 86c946b commit b71d832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lambda-promtail/lambda-promtail/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func processS3Event(ctx context.Context, ev *events.S3Event, pc Client, log *log
Key: aws.String(labels["key"]),
})
if err != nil {
return fmt.Errorf("failed to get object %s from bucket %s on account %s, %s", labels["key"], labels["bucket"], err)
return fmt.Errorf("failed to get object %s from bucket %s, %s", labels["key"], labels["bucket"], err)
}
err = parseS3Log(ctx, batch, labels, obj.Body, log)
if err != nil {
Expand Down

0 comments on commit b71d832

Please sign in to comment.