From 2f1534853a187018b94754e5ae2f009d7c2ae347 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 9 Jul 2026 09:30:56 +0900 Subject: internal/pkg: consolidate cache attributes This makes the interface stable. Signed-off-by: Ophestra --- internal/pkg/exec.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/pkg/exec.go') diff --git a/internal/pkg/exec.go b/internal/pkg/exec.go index 3623c927..d9063c74 100644 --- a/internal/pkg/exec.go +++ b/internal/pkg/exec.go @@ -649,8 +649,8 @@ func (c *Cache) EnterExec( var z *container.Container z, err = e.makeContainer( ctx, c.msg, - c.flags, - c.jobs, + c.attr.Flags, + c.attr.Jobs, hostNet, temp, work, func(a Artifact) (*check.Absolute, unique.Handle[Checksum]) { @@ -693,7 +693,7 @@ func (a *execArtifact) cure(f *FContext, hostNet bool) (err error) { msg := f.GetMessage() var z *container.Container if z, err = a.makeContainer( - ctx, msg, f.cache.flags, f.GetJobs(), hostNet, + ctx, msg, f.cache.attr.Flags, f.GetJobs(), hostNet, f.GetTempDir(), f.GetWorkDir(), f.GetArtifact, f.cache.Ident, -- cgit v1.3.1