Skip to content

Commit febb5ff

Browse files
committed
golang: fix a linter problem with ErrSyscallDoesNotExist
Signed-off-by: Paul Moore <[email protected]>
1 parent 043204c commit febb5ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seccomp.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ const (
186186
)
187187

188188
var (
189+
// ErrSyscallDoesNotExist represents an error condition where
190+
// libseccomp is unable to resolve the syscall
189191
ErrSyscallDoesNotExist = fmt.Errorf("could not resolve syscall name")
190192
)
191193

0 commit comments

Comments
 (0)