Skip to content

Commit 189f146

Browse files
fix: space of alb
fix: space of alb and s3 data type
2 parents f3cd084 + 03f4ecd commit 189f146

2 files changed

Lines changed: 1 addition & 3 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)

generators/elb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const (
6969

7070
func buildALBLogLine(input albCustomizer) string {
7171
logLine := fmt.Sprintf(
72-
"%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s\n ",
72+
"%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s\n",
7373
input.logType, input.timestamp, input.elbID,
7474
input.clientIPPort, input.targetIPPort,
7575
requestProcessingTimeMs, targetProcessingTimeMs, responseProcessingTimeMs,

0 commit comments

Comments
 (0)