// Get retrieves the manifest identified by the digest, if it exists.
Get retrieves the manifest identified by the digest, if it exists.
// Get retrieves the manifest identified by the digest if it exists .
func (c retryManifest) Get(ctx context.Context, dgst godigest.Digest, options ...distribution.ManifestServiceOption) (distribution.Manifest, error) {
	for i := 0; ; i++ {
		m, err := c.ManifestService.Get(ctx, dgst, options...)
		if c.repo.shouldRetry(i, err) {
			continue
		}
		return m, err
	}
}
func ( c retryManifest ) Get ( ctx context . Context , dgst godigest . Digest , options ... distribution . ManifestServiceOption ) ( distribution . Manifest , error ) { for i := 0 ; ; i ++ { m , err := c . ManifestService . Get ( ctx , dgst , options ... ) if c . repo . shouldRetry ( i , err ) { continue } return m , err } }
Get retrieves the manifest identified by the digest, if it exists.
Get retrieves the manifest identified by the digest if it exists .