From c61cdc505f05decd940cb2d861241039a49251e3 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Apr 2026 16:31:46 +0900 Subject: internal/params: relocate from package container This does not make sense as part of the public API, so make it internal. Signed-off-by: Ophestra --- container/init_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'container/init_test.go') diff --git a/container/init_test.go b/container/init_test.go index 02531e99..a4eb1182 100644 --- a/container/init_test.go +++ b/container/init_test.go @@ -10,6 +10,7 @@ import ( "hakurei.app/check" "hakurei.app/container/seccomp" "hakurei.app/container/std" + "hakurei.app/internal/params" "hakurei.app/internal/stub" ) @@ -40,7 +41,7 @@ func TestInitEntrypoint(t *testing.T) { call("lockOSThread", stub.ExpectArgs{}, nil, nil), call("getpid", stub.ExpectArgs{}, 1, nil), call("setPtracer", stub.ExpectArgs{uintptr(0)}, nil, nil), - call("receive", stub.ExpectArgs{"HAKUREI_SETUP", new(initParams), new(uintptr)}, nil, ErrReceiveEnv), + call("receive", stub.ExpectArgs{"HAKUREI_SETUP", new(initParams), new(uintptr)}, nil, params.ErrReceiveEnv), call("fatal", stub.ExpectArgs{[]any{"HAKUREI_SETUP not set"}}, nil, nil), }, }, nil}, -- cgit v1.3.1