Skip to content

Commit

Permalink
validate: modify the valid value of rootfsPropagation
Browse files Browse the repository at this point in the history
Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
  • Loading branch information
zhouhao committed May 8, 2017
1 parent 8addcc6 commit 1a159f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion validate/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,10 @@ func (v *Validator) CheckLinux() (msgs []string) {
case "rslave":
case "shared":
case "rshared":
case "unbindable":
case "runbindable":
default:
msgs = append(msgs, "rootfsPropagation must be empty or one of \"private|rprivate|slave|rslave|shared|rshared\"")
msgs = append(msgs, "rootfsPropagation must be empty or one of \"private|rprivate|slave|rslave|shared|rshared|unbindable|runbindable\"")
}

for _, maskedPath := range v.spec.Linux.MaskedPaths {
Expand Down

0 comments on commit 1a159f1

Please sign in to comment.