We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69626a4 commit de111a0Copy full SHA for de111a0
validate/validate.go
@@ -511,13 +511,13 @@ func (v *Validator) CheckLinux() (msgs []string) {
511
512
for _, maskedPath := range v.spec.Linux.MaskedPaths {
513
if !strings.HasPrefix(maskedPath, "/") {
514
- msgs = append(msgs, "maskedPath %v is not an absolute path", maskedPath)
+ msgs = append(msgs, fmt.Sprintf("maskedPath %v is not an absolute path", maskedPath))
515
}
516
517
518
for _, readonlyPath := range v.spec.Linux.ReadonlyPaths {
519
if !strings.HasPrefix(readonlyPath, "/") {
520
- msgs = append(msgs, "readonlyPath %v is not an absolute path", readonlyPath)
+ msgs = append(msgs, fmt.Sprintf("readonlyPath %v is not an absolute path", readonlyPath))
521
522
523
0 commit comments