Skip to content

Commit b0d8f15

Browse files
Update extension/encoding/awslogsencodingextension/extension.go
Co-authored-by: Andrew Wilkins <[email protected]>
1 parent 462e554 commit b0d8f15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension/encoding/awslogsencodingextension/extension.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ func (e *encodingExtension) getReaderFromFormat(buf []byte) (string, io.Reader,
123123
return bytesEncoding, bytes.NewReader(buf), nil
124124
case formatELBAccessLog:
125125
// Check if the data is compressed
126-
// Network LB and Applicayion LB store compressed files.
127-
// Classic LB stores plain text files.
126+
// NLB and ALB store compressed files.
127+
// CLB stores plain text files.
128128
if len(buf) > 2 && buf[0] == 0x1f && buf[1] == 0x8b {
129129
reader, err := e.getGzipReader(buf)
130130
return gzipEncoding, reader, err

0 commit comments

Comments
 (0)