Forráskód Böngészése

Merge pull request #44414 from thaJeztah/22.06_backport_rm_deprecated_arm_fallback

[22.06 backport] Remove long-deprecated "arm" fallback
Tianon Gravi 2 éve
szülő
commit
b76a60dee6
1 módosított fájl, 0 hozzáadás és 11 törlés
  1. 0 11
      distribution/pull_v2_unix.go

+ 0 - 11
distribution/pull_v2_unix.go

@@ -45,17 +45,6 @@ func filterManifests(manifests []manifestlist.ManifestDescriptor, p specs.Platfo
 		return m.Less(*p1, *p2)
 		return m.Less(*p1, *p2)
 	})
 	})
 
 
-	// deprecated: backwards compatibility with older versions that didn't compare variant
-	if len(matches) == 0 && p.Architecture == "arm" {
-		p = platforms.Normalize(p)
-		for _, desc := range manifests {
-			if desc.Platform.OS == p.OS && desc.Platform.Architecture == p.Architecture {
-				matches = append(matches, desc)
-				logrus.Debugf("found deprecated partial match for %s with media type %s, digest %s", platforms.Format(p), desc.MediaType, desc.Digest.String())
-			}
-		}
-	}
-
 	return matches
 	return matches
 }
 }