mirror of
https://github.com/containers/podman.git
synced 2025-09-24 07:15:12 +08:00
bump github.com/containers/common
Update github.com/containers/common from 0.43.0 to 0.43.2. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
12
vendor/github.com/containers/common/libimage/image.go
generated
vendored
12
vendor/github.com/containers/common/libimage/image.go
generated
vendored
@ -499,9 +499,15 @@ func (i *Image) Untag(name string) error {
|
||||
return errors.Wrapf(err, "error normalizing name %q", name)
|
||||
}
|
||||
|
||||
if _, isDigested := ref.(reference.Digested); isDigested {
|
||||
return errors.Wrap(errUntagDigest, name)
|
||||
}
|
||||
// FIXME: this is breaking Podman CI but must be re-enabled once
|
||||
// c/storage supports alterting the digests of an image. Then,
|
||||
// Podman will do the right thing.
|
||||
//
|
||||
// !!! Also make sure to re-enable the tests !!!
|
||||
//
|
||||
// if _, isDigested := ref.(reference.Digested); isDigested {
|
||||
// return errors.Wrap(errUntagDigest, name)
|
||||
// }
|
||||
|
||||
name = ref.String()
|
||||
|
||||
|
15
vendor/github.com/containers/common/pkg/config/containers.conf
generated
vendored
15
vendor/github.com/containers/common/pkg/config/containers.conf
generated
vendored
@ -60,23 +60,23 @@ default_capabilities = [
|
||||
]
|
||||
|
||||
# A list of sysctls to be set in containers by default,
|
||||
# specified as "name = value",
|
||||
# for example:"net.ipv4.ping_group_range = 0 0".
|
||||
# specified as "name=value",
|
||||
# for example:"net.ipv4.ping_group_range=0 0".
|
||||
#
|
||||
default_sysctls = [
|
||||
"net.ipv4.ping_group_range = 0 0",
|
||||
"net.ipv4.ping_group_range=0 0",
|
||||
]
|
||||
|
||||
# A list of ulimits to be set in containers by default, specified as
|
||||
# "<ulimit name> = <soft limit>:<hard limit>", for example:
|
||||
# "nofile = 1024:2048"
|
||||
# "<ulimit name>=<soft limit>:<hard limit>", for example:
|
||||
# "nofile=1024:2048"
|
||||
# See setrlimit(2) for a list of resource names.
|
||||
# Any limit not specified here will be inherited from the process launching the
|
||||
# container engine.
|
||||
# Ulimits has limits for non privileged container engines.
|
||||
#
|
||||
#default_ulimits = [
|
||||
# "nofile = 1280:2560",
|
||||
# "nofile=1280:2560",
|
||||
#]
|
||||
|
||||
# List of devices. Specified as
|
||||
@ -382,7 +382,8 @@ default_sysctls = [
|
||||
#machine_enabled = false
|
||||
|
||||
# The image used when creating a podman-machine VM.
|
||||
# machine_image = "testing"
|
||||
#
|
||||
#machine_image = "testing"
|
||||
|
||||
# MultiImageArchive - if true, the container engine allows for storing archives
|
||||
# (e.g., of the docker-archive transport) with multiple images. By default,
|
||||
|
3
vendor/github.com/containers/common/pkg/parse/parse.go
generated
vendored
3
vendor/github.com/containers/common/pkg/parse/parse.go
generated
vendored
@ -5,6 +5,7 @@ package parse
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
@ -155,7 +156,7 @@ func ValidateVolumeCtrDir(ctrDir string) error {
|
||||
if ctrDir == "" {
|
||||
return errors.New("container directory cannot be empty")
|
||||
}
|
||||
if !filepath.IsAbs(ctrDir) {
|
||||
if !path.IsAbs(ctrDir) {
|
||||
return errors.Errorf("invalid container path %q, must be an absolute path", ctrDir)
|
||||
}
|
||||
return nil
|
||||
|
2
vendor/github.com/containers/common/version/version.go
generated
vendored
2
vendor/github.com/containers/common/version/version.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
package version
|
||||
|
||||
// Version is the version of the build.
|
||||
const Version = "0.43.0"
|
||||
const Version = "0.43.2"
|
||||
|
Reference in New Issue
Block a user