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 f49d861 commit b164be5Copy full SHA for b164be5
validate/validate.go
@@ -89,8 +89,10 @@ func (v *Validator) CheckAll() (msgs []string) {
89
msgs = append(msgs, v.CheckPlatform()...)
90
msgs = append(msgs, v.CheckProcess()...)
91
msgs = append(msgs, v.CheckOS()...)
92
- msgs = append(msgs, v.CheckLinux()...)
93
msgs = append(msgs, v.CheckHooks()...)
+ if v.spec.Linux != nil {
94
+ msgs = append(msgs, v.CheckLinux()...)
95
+ }
96
97
return
98
}
0 commit comments