From 02271583fb791987a9406c9ba282c75ff7a0e395 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 9 Aug 2025 19:08:54 +0900 Subject: container: remove PATH lookup behaviour This is way higher level than the container package and does not even work unless every path is mounted in the exact same location. This behaviour causes nothing but confusion and problems, Signed-off-by: Ophestra --- container/init_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container/init_test.go') diff --git a/container/init_test.go b/container/init_test.go index 6e99cc09..7716458c 100644 --- a/container/init_test.go +++ b/container/init_test.go @@ -47,7 +47,7 @@ func TestMain(m *testing.M) { } func helperNewContainerLibPaths(ctx context.Context, libPaths *[]string, args ...string) (c *container.Container) { - c = container.New(ctx, helperInnerPath, args...) + c = container.NewCommand(ctx, helperInnerPath, "helper", args...) c.Env = append(c.Env, envDoCheck+"=1") c.Bind(os.Args[0], helperInnerPath, 0) -- cgit v1.3.1