Skip to content

Commit e8d5794

Browse files
author
Mrunal Patel
authored
Merge pull request #468 from q384566678/action-fix
validate: Remove the wrong seccompAction valid value
2 parents 09c3315 + 4524149 commit e8d5794

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

validate/validate.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,6 @@ func deviceValid(d rspec.LinuxDevice) bool {
935935

936936
func seccompActionValid(secc rspec.LinuxSeccompAction) bool {
937937
switch secc {
938-
case "":
939938
case rspec.ActKill:
940939
case rspec.ActTrap:
941940
case rspec.ActErrno:

0 commit comments

Comments
 (0)