mirror of
				https://github.com/containers/podman.git
				synced 2025-11-04 17:07:20 +08:00 
			
		
		
		
	vendor: update containers/{buildah,common,image,storage}
The change in healthcheck_run_test.go, depends on the
containers/image change:
commit b6afa8ca7b324aca8fd5a7b5b206fc05c0c04874
Author: Mikhail Sokolov <msokolov@evolution.com>
Date:   Fri Mar 15 13:37:44 2024 +0200
    Add support for Docker HealthConfig.StartInterval (v25.0.0+)
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
			
			
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/github.com/containers/common/libimage/load.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/containers/common/libimage/load.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -6,7 +6,6 @@ import (
 | 
			
		||||
	"context"
 | 
			
		||||
	"errors"
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"os"
 | 
			
		||||
	"time"
 | 
			
		||||
 | 
			
		||||
	dirTransport "github.com/containers/image/v5/directory"
 | 
			
		||||
@ -15,6 +14,7 @@ import (
 | 
			
		||||
	ociTransport "github.com/containers/image/v5/oci/layout"
 | 
			
		||||
	"github.com/containers/image/v5/transports"
 | 
			
		||||
	"github.com/containers/image/v5/types"
 | 
			
		||||
	"github.com/containers/storage/pkg/fileutils"
 | 
			
		||||
	"github.com/sirupsen/logrus"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
@ -141,7 +141,7 @@ func (r *Runtime) loadMultiImageDockerArchive(ctx context.Context, ref types.Ima
 | 
			
		||||
	// syntax to reference an image within the archive was used, so we
 | 
			
		||||
	// should.
 | 
			
		||||
	path := ref.StringWithinTransport()
 | 
			
		||||
	if _, err := os.Stat(path); err != nil {
 | 
			
		||||
	if err := fileutils.Exists(path); err != nil {
 | 
			
		||||
		return r.copyFromDockerArchive(ctx, ref, options)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								vendor/github.com/containers/common/libimage/manifests/manifests.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/github.com/containers/common/libimage/manifests/manifests.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -32,6 +32,7 @@ import (
 | 
			
		||||
	"github.com/containers/image/v5/transports/alltransports"
 | 
			
		||||
	"github.com/containers/image/v5/types"
 | 
			
		||||
	"github.com/containers/storage"
 | 
			
		||||
	"github.com/containers/storage/pkg/fileutils"
 | 
			
		||||
	"github.com/containers/storage/pkg/ioutils"
 | 
			
		||||
	"github.com/containers/storage/pkg/lockfile"
 | 
			
		||||
	digest "github.com/opencontainers/go-digest"
 | 
			
		||||
@ -330,7 +331,7 @@ func (l *list) Reference(store storage.Store, multiple cp.ImageListSelection, in
 | 
			
		||||
					return nil, fmt.Errorf(`internal error: no file or blob with artifact "config" or "layer" digest %q recorded`, referencedBlobDigest)
 | 
			
		||||
				}
 | 
			
		||||
				expectedLayerBlobPath := filepath.Join(blobsDir, referencedBlobDigest.Encoded())
 | 
			
		||||
				if _, err := os.Lstat(expectedLayerBlobPath); err == nil {
 | 
			
		||||
				if err := fileutils.Lexists(expectedLayerBlobPath); err == nil {
 | 
			
		||||
					// did this one already
 | 
			
		||||
					continue
 | 
			
		||||
				} else if knownFile {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user