Skip to content

Commit 03f4ecd

Browse files
committed
fix type
Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co>
1 parent b191da1 commit 03f4ecd

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

exporters/s3.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ func (s *S3BucketExporter) Start(c <-chan *[]byte) <-chan error {
6363
go func() {
6464
var content io.Reader
6565
var encoding string
66-
contentType := "application/text"
6766

6867
for {
6968
select {
@@ -90,7 +89,6 @@ func (s *S3BucketExporter) Start(c <-chan *[]byte) <-chan error {
9089
Key: &key,
9190
Body: content,
9291
ContentEncoding: &encoding,
93-
ContentType: &contentType,
9492
}
9593

9694
_, err := s.client.PutObject(context.Background(), &input)

0 commit comments

Comments
 (0)