Vendor in containers/common v0.22.0

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2020-09-11 09:51:49 -04:00
parent 397de44d48
commit cd2b2d9fae
7 changed files with 20 additions and 8 deletions

View File

@ -658,10 +658,10 @@ func (c *NetworkConfig) Validate() error {
// ValidatePullPolicy check if the pullPolicy from CLI is valid and returns the valid enum type
// if the value from CLI or containers.conf is invalid returns the error
func ValidatePullPolicy(pullPolicy string) (PullPolicy, error) {
switch pullPolicy {
switch strings.ToLower(pullPolicy) {
case "always":
return PullImageAlways, nil
case "missing":
case "missing", "ifnotpresent":
return PullImageMissing, nil
case "never":
return PullImageNever, nil

View File

@ -65,9 +65,11 @@ func DefaultProfile() *Seccomp {
"chmod",
"chown",
"chown32",
"clock_adjtime",
"clock_getres",
"clock_gettime",
"clock_nanosleep",
"clone",
"close",
"connect",
"copy_file_range",
@ -89,6 +91,7 @@ func DefaultProfile() *Seccomp {
"exit",
"exit_group",
"faccessat",
"faccessat2",
"fadvise64",
"fadvise64_64",
"fallocate",
@ -96,6 +99,7 @@ func DefaultProfile() *Seccomp {
"fchdir",
"fchmod",
"fchmodat",
"fchmodat2",
"fchown",
"fchown32",
"fchownat",
@ -215,9 +219,11 @@ func DefaultProfile() *Seccomp {
"newfstatat",
"open",
"openat",
"openat2",
"pause",
"pipe",
"pipe2",
"pivot_root",
"poll",
"ppoll",
"prctl",

View File

@ -67,9 +67,11 @@
"chmod",
"chown",
"chown32",
"clock_adjtime",
"clock_getres",
"clock_gettime",
"clock_nanosleep",
"clone",
"close",
"connect",
"copy_file_range",
@ -91,6 +93,7 @@
"exit",
"exit_group",
"faccessat",
"faccessat2",
"fadvise64",
"fadvise64_64",
"fallocate",
@ -98,6 +101,7 @@
"fchdir",
"fchmod",
"fchmodat",
"fchmodat2",
"fchown",
"fchown32",
"fchownat",
@ -217,9 +221,11 @@
"newfstatat",
"open",
"openat",
"openat2",
"pause",
"pipe",
"pipe2",
"pivot_root",
"poll",
"ppoll",
"prctl",
@ -875,4 +881,4 @@
"excludes": {}
}
]
}
}

View File

@ -1,4 +1,4 @@
package version
// Version is the version of the build.
const Version = "0.21.0"
const Version = "0.22.0"