aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-06-02 16:00:51 +0900
committerOphestra <cat@gensokyo.uk>2026-06-02 16:00:51 +0900
commit56937ac396e998e6e4729612915a65e1b4e8981c (patch)
treeb574b56062633373cc7ac44e596dda514ad4856c
parent6c2f7089b65c5e3eb5c3e65210abc0147f97ff45 (diff)
internal/rosa: populate opts of cloned S
This was missed when migrating opts into S. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--internal/rosa/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/state.go b/internal/rosa/state.go
index a53a0ffa..d55610fe 100644
--- a/internal/rosa/state.go
+++ b/internal/rosa/state.go
@@ -218,7 +218,7 @@ type S struct {
// Clone returns a copy of 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 {
v.artifacts.Store(key, value)
v.artifactCount.Add(1)