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/rosa/rosa_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal/rosa/rosa_test.go') diff --git a/internal/rosa/rosa_test.go b/internal/rosa/rosa_test.go index e612c11d..c2a6451c 100644 --- a/internal/rosa/rosa_test.go +++ b/internal/rosa/rosa_test.go @@ -61,7 +61,9 @@ func getCache(t *testing.T) *pkg.Cache { msg := message.New(log.New(os.Stderr, "rosa: ", 0)) msg.SwapVerbose(true) - if buildTestCache, err = pkg.Open(ctx, msg, pkg.CSuppressInit, 0, 0, a); err != nil { + if buildTestCache, err = pkg.Open(ctx, msg, a, &pkg.CacheAttr{ + Flags: pkg.CSuppressInit, + }); err != nil { t.Fatal(err) } } -- cgit v1.3.1