mirror of
				https://github.com/containers/podman.git
				synced 2025-11-04 17:07:20 +08:00 
			
		
		
		
	vendor: bump buildah, c/image and c/storage
Bumps c/buildah to -> `v1.24.3-0.20220310160415-5ec70bf01ea5` c/storage to -> `v1.38.3-0.20220308085612-93ce26691863` c/image to -> `v5.20.1-0.20220310094651-0d8056ee346f` Signed-off-by: Aditya R <arajan@redhat.com>
This commit is contained in:
		
							
								
								
									
										5
									
								
								vendor/github.com/containers/buildah/pull.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/github.com/containers/buildah/pull.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -6,7 +6,6 @@ import (
 | 
			
		||||
	"time"
 | 
			
		||||
 | 
			
		||||
	"github.com/containers/buildah/define"
 | 
			
		||||
	"github.com/containers/buildah/pkg/blobcache"
 | 
			
		||||
	"github.com/containers/common/libimage"
 | 
			
		||||
	"github.com/containers/common/pkg/config"
 | 
			
		||||
	"github.com/containers/image/v5/types"
 | 
			
		||||
@ -63,15 +62,13 @@ func Pull(ctx context.Context, imageName string, options PullOptions) (imageID s
 | 
			
		||||
	libimageOptions.OciDecryptConfig = options.OciDecryptConfig
 | 
			
		||||
	libimageOptions.AllTags = options.AllTags
 | 
			
		||||
	libimageOptions.RetryDelay = &options.RetryDelay
 | 
			
		||||
	libimageOptions.DestinationLookupReferenceFunc = cacheLookupReferenceFunc(options.BlobDirectory, types.PreserveOriginal)
 | 
			
		||||
 | 
			
		||||
	if options.MaxRetries > 0 {
 | 
			
		||||
		retries := uint(options.MaxRetries)
 | 
			
		||||
		libimageOptions.MaxRetries = &retries
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if options.BlobDirectory != "" {
 | 
			
		||||
		libimageOptions.DestinationLookupReferenceFunc = blobcache.CacheLookupReferenceFunc(options.BlobDirectory, types.PreserveOriginal)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	pullPolicy, err := config.ParsePullPolicy(options.PullPolicy.String())
 | 
			
		||||
	if err != nil {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user