From e99d7affb0c128fa82722f9b3d79c99b5e5918cd Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 11 Aug 2025 02:52:32 +0900 Subject: container: use absolute for pathname This is simultaneously more efficient and less error-prone. This change caused minor API changes in multiple other packages. Signed-off-by: Ophestra --- internal/app/process_linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/app/process_linux.go') diff --git a/internal/app/process_linux.go b/internal/app/process_linux.go index 088deab3..11d4c8e9 100644 --- a/internal/app/process_linux.go +++ b/internal/app/process_linux.go @@ -39,7 +39,7 @@ func (seal *outcome) Run(rs *RunState) error { if err := seal.sys.Commit(seal.ctx); err != nil { return err } - store := state.NewMulti(seal.runDirPath) + store := state.NewMulti(seal.runDirPath.String()) deferredStoreFunc := func(c state.Cursor) error { return nil } // noop until state in store defer func() { var revertErr error @@ -128,7 +128,7 @@ func (seal *outcome) Run(rs *RunState) error { os.Getpid(), seal.waitDelay, seal.container, - seal.user.data, + seal.user.data.String(), hlog.Load(), }) }() -- cgit v1.3.1