Skip to content

Commit 67316f0

Browse files
author
Mrunal Patel
authored
Merge pull request #763 from wking/seccomp-args-omitempty
specs-go/config: Add omitempty to LinuxSyscall.Args
2 parents daba39c + bb4cca7 commit 67316f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs-go/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ type LinuxSeccompArg struct {
551551
type LinuxSyscall struct {
552552
Names []string `json:"names"`
553553
Action LinuxSeccompAction `json:"action"`
554-
Args []LinuxSeccompArg `json:"args"`
554+
Args []LinuxSeccompArg `json:"args,omitempty"`
555555
}
556556

557557
// LinuxIntelRdt has container runtime resource constraints

0 commit comments

Comments
 (0)