Commit bb4cca7
committed
specs-go/config: Add omitempty to LinuxSyscall.Args
It used to have this, but the omitempty was dropped in 652323c
(improve seccomp format to be more expressive, 2017-01-13, opencontainers#657).
However, the docs that landed in 3ca5c6c (config-linux.md: fix
seccomp, 2017-03-02, opencontainers#706) list the property as optional, and if it is
optional, we can leave it unset instead of serializing an empty array.
Signed-off-by: W. Trevor King <wking@tremily.us>1 parent 0946333 commit bb4cca7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
554 | | - | |
| 554 | + | |
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
| |||
0 commit comments