Commit 5c07a79
authored
[chore][receiver/awslambdareceiver] improve linting (#44778)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Improve linting for `receiver/awslambda`.
This is part of the process to enable the
[modernize](#44199)
linter in CI.
There are no changes in the component behaviour.
```sh
Error: receiver/awslambdareceiver/internal/s3_test.go:64:3: error-is-as: use require.ErrorIs or require.ErrorAs depending on the case (testifylint)
require.IsType(t, &consumererror.Error{}, err)
^
```
Signed-off-by: Paulo Dias <[email protected]>1 parent 52d8ca0 commit 5c07a79
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments