Skip to content

Commit 045bc5f

Browse files
author
Zhou Hao
committed
generate: fixed seccompSet
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
1 parent eead136 commit 045bc5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/oci-runtime-tool/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ func addSeccomp(context *cli.Context, g *generate.Generator) error {
11681168
}
11691169

11701170
func seccompSet(context *cli.Context, seccompFlag string, g *generate.Generator) error {
1171-
flagInput := context.String("seccomp-" + seccompFlag)
1171+
flagInput := context.String("linux-seccomp-" + seccompFlag)
11721172
flagArgs := strings.Split(flagInput, ",")
11731173
setSyscallArgsSlice := []seccomp.SyscallOpts{}
11741174
for _, flagArg := range flagArgs {

0 commit comments

Comments
 (0)