aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/dispatcher_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/dispatcher_test.go')
-rw-r--r--container/dispatcher_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/container/dispatcher_test.go b/container/dispatcher_test.go
index 3e5cb91f..ee31f91e 100644
--- a/container/dispatcher_test.go
+++ b/container/dispatcher_test.go
@@ -17,6 +17,7 @@ import (
"time"
"hakurei.app/container/seccomp"
+ "hakurei.app/container/std"
"hakurei.app/container/stub"
"hakurei.app/message"
)
@@ -456,7 +457,7 @@ func (k *kstub) ensureFile(name string, perm, pperm os.FileMode) error {
stub.CheckArg(k.Stub, "pperm", pperm, 2))
}
-func (k *kstub) seccompLoad(rules []seccomp.NativeRule, flags seccomp.ExportFlag) error {
+func (k *kstub) seccompLoad(rules []std.NativeRule, flags seccomp.ExportFlag) error {
k.Helper()
return k.Expects("seccompLoad").Error(
stub.CheckArgReflect(k.Stub, "rules", rules, 0),