We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fc291f commit 186e89dCopy full SHA for 186e89d
1 file changed
utils_linux.go
@@ -378,6 +378,9 @@ func (r *runner) checkTerminal(config *specs.Process) error {
378
}
379
380
func validateProcessSpec(spec *specs.Process) error {
381
+ if spec == nil {
382
+ return fmt.Errorf("process property must not be empty")
383
+ }
384
if spec.Cwd == "" {
385
return errors.New("Cwd property must not be empty")
386
0 commit comments