We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4350e1 commit 01ef1bcCopy full SHA for 01ef1bc
1 file changed
extension/encoding/awslogsencodingextension/internal/unmarshaler/cloudtraillog/unmarshaler.go
@@ -162,8 +162,7 @@ func (u *CloudTrailLogUnmarshaler) UnmarshalAWSLogs(reader io.Reader) (plog.Logs
162
163
logs, err := streamDecoder.DecodeLogs()
164
if err != nil {
165
- //nolint:errorlint
166
- if err == io.EOF {
+ if errors.Is(err, io.EOF) {
167
// EOF indicates no logs were found, return any logs that's available
168
return logs, nil
169
}
0 commit comments