aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/seccomp/proc.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/seccomp/proc.go')
-rw-r--r--container/seccomp/proc.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/container/seccomp/proc.go b/container/seccomp/proc.go
index 7027cc6b..fb6f5430 100644
--- a/container/seccomp/proc.go
+++ b/container/seccomp/proc.go
@@ -21,9 +21,7 @@ Methods of Encoder are not safe for concurrent use.
An Encoder must not be copied after first use.
*/
-type Encoder struct {
- *exporter
-}
+type Encoder struct{ *exporter }
func (e *Encoder) Read(p []byte) (n int, err error) {
if err = e.prepare(); err != nil {