Fix CI/CD compatibility issues #9
Annotations
11 errors
|
Test
Process completed with exit code 1.
|
|
Test:
pkg/storage/s3/s3.go#L131
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. (SA1019)
|
|
Test:
pkg/storage/s3/s3.go#L114
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. (SA1019)
|
|
Test:
pkg/storage/s3/s3.go#L114
aws.EndpointResolverWithOptionsFunc is deprecated: The global endpoint resolution interface is deprecated. See deprecation docs on [EndpointResolver]. (SA1019)
|
|
Test:
pkg/metadata/mysql_store_test.go#L70
this value of err is never used (SA4006)
|
|
Test:
pkg/metadata/metadata_test.go#L5
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
|
|
Test:
pkg/metadata/metadata.go#L51
field s3Client is unused (U1000)
|
|
Test:
pkg/database/database.go#L84
type assertion to the same type: factory already has type common.ProviderFactory (S1040)
|
|
Test:
pkg/database/database.go#L42
type assertion to the same type: factory already has type common.ProviderFactory (S1040)
|
|
Test:
cmd/metadata-recovery/main_test.go#L5
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
|
|
Test:
cmd/metadata-recovery/main.go#L25
var outputFile is unused (U1000)
|