Vendor in latest opencontainers/runtime-tools
Signed-off-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
7cb47aeb21
commit
a9a1b04510
4 changed files with 26 additions and 5 deletions
7
vendor/github.com/opencontainers/runtime-tools/validate/validate.go
generated
vendored
7
vendor/github.com/opencontainers/runtime-tools/validate/validate.go
generated
vendored
|
@ -131,8 +131,13 @@ func (v *Validator) CheckRootfsPath() (msgs []string) {
|
|||
msgs = append(msgs, fmt.Sprintf("root.path is %q, but it MUST be a child of %q", v.spec.Root.Path, absBundlePath))
|
||||
}
|
||||
|
||||
return
|
||||
if v.spec.Platform.OS == "windows" {
|
||||
if v.spec.Root.Readonly {
|
||||
msgs = append(msgs, "root.readonly field MUST be omitted or false when platform.os is windows")
|
||||
}
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// CheckSemVer checks v.spec.Version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue