aws-s3
input: Split S3 poller and SQS reader into explicit input objects
#19116
Annotations
8 errors and 2 warnings
|
golangci-lint:
x-pack/filebeat/input/awss3/input.go#L53
SA1019: awsConfig.EndpointResolverWithOptions is deprecated: with the release of endpoint resolution v2 in API clients, EndpointResolver and EndpointResolverWithOptions are deprecated. Providing a value for this field will likely prevent you from using newer endpoint-related service features. See API client options EndpointResolverV2 and BaseEndpoint. (staticcheck)
|
golangci-lint:
x-pack/filebeat/input/awss3/input_test.go#L159
func `newV2Context` is unused (unused)
|
golangci-lint:
x-pack/filebeat/input/awss3/sqs_s3_event.go#L47
directive `//nolint:errorlint // This is not used directly to detected wrapped errors (errors.Is handles unwrapping).` is unused for linter "errorlint" (nolintlint)
|
golangci-lint:
x-pack/filebeat/input/awss3/states_test.go#L65
Error return value of `states.AddState` is not checked (errcheck)
|
golangci-lint:
x-pack/filebeat/input/awss3/states_test.go#L72
Error return value of `states.AddState` is not checked (errcheck)
|
golangci-lint:
x-pack/filebeat/input/awss3/states_test.go#L81
Error return value of `states.AddState` is not checked (errcheck)
|
golangci-lint
issues found
|
Post golangci-lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|
golangci-lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|
Loading