Merge pull request #1530 from itpey/main #1
reviewdog [golangci] report
reported by reviewdog πΆ
Findings (5)
s3/s3.go|176 col 14| SA1019: aws.EndpointResolverWithOptionsFunc is deprecated: The global endpoint resolution interface is deprecated. See deprecation docs on [EndpointResolver]. (staticcheck)
s3/s3.go|178 col 11| SA1019: aws.Endpoint is deprecated: This structure was used with the global [EndpointResolver] interface, which has been deprecated in favor of service-specific endpoint resolution. See the deprecation docs on that interface for more information. (staticcheck)
s3/s3.go|185 col 10| SA1019: aws.Endpoint is deprecated: This structure was used with the global [EndpointResolver] interface, which has been deprecated in favor of service-specific endpoint resolution. See the deprecation docs on that interface for more information. (staticcheck)
s3/s3.go|192 col 4| SA1019: awsconfig.WithEndpointResolverWithOptions is deprecated: The global endpoint resolution interface is deprecated. See deprecation docs on [WithEndpointResolver]. (staticcheck)
s3/s3.go|202 col 3| SA1019: awsconfig.WithEndpointResolverWithOptions is deprecated: The global endpoint resolution interface is deprecated. See deprecation docs on [WithEndpointResolver]. (staticcheck)
Filtered Findings (0)
Annotations
Check failure on line 176 in s3/s3.go
github-actions / golangci
[golangci] s3/s3.go#L176
SA1019: aws.EndpointResolverWithOptionsFunc is deprecated: The global endpoint resolution interface is deprecated. See deprecation docs on [EndpointResolver]. (staticcheck)
Raw output
s3.go:176:14: SA1019: aws.EndpointResolverWithOptionsFunc is deprecated: The global endpoint resolution interface is deprecated. See deprecation docs on [EndpointResolver]. (staticcheck)
endpoint := aws.EndpointResolverWithOptionsFunc(func(service, region string, options ...interface{}) (aws.Endpoint, error) {
^
Check failure on line 178 in s3/s3.go
github-actions / golangci
[golangci] s3/s3.go#L178
SA1019: aws.Endpoint is deprecated: This structure was used with the global [EndpointResolver] interface, which has been deprecated in favor of service-specific endpoint resolution. See the deprecation docs on that interface for more information. (staticcheck)
Raw output
s3.go:178:11: SA1019: aws.Endpoint is deprecated: This structure was used with the global [EndpointResolver] interface, which has been deprecated in favor of service-specific endpoint resolution. See the deprecation docs on that interface for more information. (staticcheck)
return aws.Endpoint{
^
Check failure on line 185 in s3/s3.go
github-actions / golangci
[golangci] s3/s3.go#L185
SA1019: aws.Endpoint is deprecated: This structure was used with the global [EndpointResolver] interface, which has been deprecated in favor of service-specific endpoint resolution. See the deprecation docs on that interface for more information. (staticcheck)
Raw output
s3.go:185:10: SA1019: aws.Endpoint is deprecated: This structure was used with the global [EndpointResolver] interface, which has been deprecated in favor of service-specific endpoint resolution. See the deprecation docs on that interface for more information. (staticcheck)
return aws.Endpoint{}, &aws.EndpointNotFoundError{}
^
Check failure on line 192 in s3/s3.go
github-actions / golangci
[golangci] s3/s3.go#L192
SA1019: awsconfig.WithEndpointResolverWithOptions is deprecated: The global endpoint resolution interface is deprecated. See deprecation docs on [WithEndpointResolver]. (staticcheck)
Raw output
s3.go:192:4: SA1019: awsconfig.WithEndpointResolverWithOptions is deprecated: The global endpoint resolution interface is deprecated. See deprecation docs on [WithEndpointResolver]. (staticcheck)
awsconfig.WithEndpointResolverWithOptions(endpoint),
^
Check failure on line 202 in s3/s3.go
github-actions / golangci
[golangci] s3/s3.go#L202
SA1019: awsconfig.WithEndpointResolverWithOptions is deprecated: The global endpoint resolution interface is deprecated. See deprecation docs on [WithEndpointResolver]. (staticcheck)
Raw output
s3.go:202:3: SA1019: awsconfig.WithEndpointResolverWithOptions is deprecated: The global endpoint resolution interface is deprecated. See deprecation docs on [WithEndpointResolver]. (staticcheck)
awsconfig.WithEndpointResolverWithOptions(endpoint),
^