diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-10-25 07:22:11 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-10-25 16:50:45 -0400 |
commit | a42c131c80fc8c7220687c56cf4384a224572ca0 (patch) | |
tree | 6b3907947aa49553ace7642034632b0ad8206157 /vendor/github.com/opencontainers/runtime-tools/validate | |
parent | dbe770e3ce2ac2e34ffa8e28b80df57eb0182a68 (diff) | |
download | podman-a42c131c80fc8c7220687c56cf4384a224572ca0.tar.gz podman-a42c131c80fc8c7220687c56cf4384a224572ca0.tar.bz2 podman-a42c131c80fc8c7220687c56cf4384a224572ca0.zip |
Update vendor github.com/opencontainers/runtime-tools
This will change mount of /dev within container to noexec, making
containers slightly more secure.
[NO NEW TESTS NEEDED]
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/opencontainers/runtime-tools/validate')
-rw-r--r-- | vendor/github.com/opencontainers/runtime-tools/validate/validate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/opencontainers/runtime-tools/validate/validate.go b/vendor/github.com/opencontainers/runtime-tools/validate/validate.go index e2e820979..9c3710529 100644 --- a/vendor/github.com/opencontainers/runtime-tools/validate/validate.go +++ b/vendor/github.com/opencontainers/runtime-tools/validate/validate.go @@ -144,7 +144,7 @@ func JSONSchemaURL(version string) (url string, err error) { func (v *Validator) CheckJSONSchema() (errs error) { logrus.Debugf("check JSON schema") - url, err := JSONSchemaURL(v.spec.Version) + url, err := JSONSchemaURL(strings.TrimSuffix(v.spec.Version, "-dev")) if err != nil { errs = multierror.Append(errs, err) return errs |