internal/rosa: populate opts of cloned S
All checks were successful
Test / Create distribution (push) Successful in 1m26s
Test / Sandbox (push) Successful in 2m39s
Test / Hakurei (push) Successful in 3m42s
Test / ShareFS (push) Successful in 3m39s
Test / Sandbox (race detector) (push) Successful in 8m31s
Test / Hakurei (race detector) (push) Successful in 11m26s
Test / Flake checks (push) Successful in 5m58s

This was missed when migrating opts into S.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-06-02 16:00:51 +09:00
parent 6c2f7089b6
commit 56937ac396

View File

@@ -218,7 +218,7 @@ type S struct {
// Clone returns a copy of s. // Clone returns a copy of s.
func (s *S) Clone() *S { func (s *S) Clone() *S {
v := S{arch: s.arch} v := S{arch: s.arch, opts: s.opts}
s.artifacts.Range(func(key, value any) bool { s.artifacts.Range(func(key, value any) bool {
v.artifacts.Store(key, value) v.artifacts.Store(key, value)
v.artifactCount.Add(1) v.artifactCount.Add(1)