Merge pull request #47198 from thaJeztah/image_remove_IDFromDigest

image: remove deprecated IDFromDigest
This commit is contained in:
Sebastiaan van Stijn 2024-01-24 12:36:42 +01:00 committed by GitHub
commit 115c7673dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,13 +28,6 @@ func (id ID) Digest() digest.Digest {
return digest.Digest(id)
}
// IDFromDigest creates an ID from a digest
//
// Deprecated: cast to an ID using ID(digest).
func IDFromDigest(digest digest.Digest) ID {
return ID(digest)
}
// V1Image stores the V1 image configuration.
type V1Image struct {
// ID is a unique 64 character identifier of the image