summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2021-08-18 12:42:20 -0400
committerNalin Dahyabhai <nalin@redhat.com>2021-08-23 17:59:58 -0400
commitfc6a020330e211ab15671a282198e39562213cec (patch)
treefb5cb087e08b3d71e44dd681d1cc02d89c3773d8 /vendor
parent1411fa5f23e3890fe870ec4ffdf2e6f114688030 (diff)
downloadpodman-fc6a020330e211ab15671a282198e39562213cec.tar.gz
podman-fc6a020330e211ab15671a282198e39562213cec.tar.bz2
podman-fc6a020330e211ab15671a282198e39562213cec.zip
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>
Diffstat (limited to 'vendor')
-rw-r--r--vendor/github.com/containers/common/libimage/image.go12
-rw-r--r--vendor/github.com/containers/common/pkg/config/containers.conf15
-rw-r--r--vendor/github.com/containers/common/pkg/parse/parse.go3
-rw-r--r--vendor/github.com/containers/common/version/version.go2
-rw-r--r--vendor/modules.txt2
5 files changed, 21 insertions, 13 deletions
diff --git a/vendor/github.com/containers/common/libimage/image.go b/vendor/github.com/containers/common/libimage/image.go
index b02bf9783..b4623a870 100644
--- a/vendor/github.com/containers/common/libimage/image.go
+++ b/vendor/github.com/containers/common/libimage/image.go
@@ -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()
diff --git a/vendor/github.com/containers/common/pkg/config/containers.conf b/vendor/github.com/containers/common/pkg/config/containers.conf
index 023297501..0068a9a17 100644
--- a/vendor/github.com/containers/common/pkg/config/containers.conf
+++ b/vendor/github.com/containers/common/pkg/config/containers.conf
@@ -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,
diff --git a/vendor/github.com/containers/common/pkg/parse/parse.go b/vendor/github.com/containers/common/pkg/parse/parse.go
index 1a25957d6..02e670c50 100644
--- a/vendor/github.com/containers/common/pkg/parse/parse.go
+++ b/vendor/github.com/containers/common/pkg/parse/parse.go
@@ -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
diff --git a/vendor/github.com/containers/common/version/version.go b/vendor/github.com/containers/common/version/version.go
index ae372bee7..572fe9bbd 100644
--- a/vendor/github.com/containers/common/version/version.go
+++ b/vendor/github.com/containers/common/version/version.go
@@ -1,4 +1,4 @@
package version
// Version is the version of the build.
-const Version = "0.43.0"
+const Version = "0.43.2"
diff --git a/vendor/modules.txt b/vendor/modules.txt
index 2b8db54ff..c9e56cdc0 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -94,7 +94,7 @@ github.com/containers/buildah/pkg/overlay
github.com/containers/buildah/pkg/parse
github.com/containers/buildah/pkg/rusage
github.com/containers/buildah/util
-# github.com/containers/common v0.43.0
+# github.com/containers/common v0.43.2
github.com/containers/common/libimage
github.com/containers/common/libimage/manifests
github.com/containers/common/pkg/apparmor