Skip to content

Commit 4524149

Browse files
author
zhouhao
committed
validate: Remove the wrong seccompAction valid value
Signed-off-by: zhouhao <[email protected]>
1 parent d3f7e9e commit 4524149

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)