diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-09 09:30:56 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-09 09:34:27 +0900 |
| commit | 2f1534853a187018b94754e5ae2f009d7c2ae347 (patch) | |
| tree | 2ef558652e55a7f35eabf38a55140b2be0f8692d /internal/pkg/exec.go | |
| parent | 3f8e111d1c96da034ea31846d46ae1fe4bf9f93c (diff) | |
internal/pkg: consolidate cache attributes
This makes the interface stable.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/exec.go')
| -rw-r--r-- | internal/pkg/exec.go | 6 |
1 files changed, 3 insertions, 3 deletions
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, |
