[#1689] go.mod: Bump SDK version

* Fix `APEOverride` method usage in ape checker.
* Fix linter errors: factor out deprecated methods and packages.

Change-Id: I8c939f4c58c2a4e3c4e795c7224d935d40ce6f24
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
Airat Arifullin 2025-04-28 20:07:56 +03:00
parent 652237500f
commit 8e2f919df0
9 changed files with 55 additions and 52 deletions

View file

@ -26,10 +26,10 @@ func WasRemoved(ctx context.Context, s Source, cid cid.ID) (bool, error) {
// IsIndexedContainer returns True if container attributes should be indexed.
func IsIndexedContainer(cnr containerSDK.Container) bool {
var isS3Container bool
cnr.IterateAttributes(func(key, _ string) {
for key := range cnr.Attributes() {
if key == ".s3-location-constraint" {
isS3Container = true
}
})
}
return !isS3Container
}