summaryrefslogtreecommitdiffhomepage
path: root/pkg/seccomp/seccomp_rules.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/seccomp/seccomp_rules.go')
-rw-r--r--pkg/seccomp/seccomp_rules.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/seccomp/seccomp_rules.go b/pkg/seccomp/seccomp_rules.go
index 4b99792fd..9215e5c90 100644
--- a/pkg/seccomp/seccomp_rules.go
+++ b/pkg/seccomp/seccomp_rules.go
@@ -120,7 +120,7 @@ func (sr SyscallRules) Merge(rules SyscallRules) {
sr[sysno] = append(sr[sysno], Rule{})
}
if len(rs) == 0 {
- rs = []Rule{Rule{}}
+ rs = []Rule{{}}
}
sr[sysno] = append(sr[sysno], rs...)
} else {