aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/report.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/report.go')
-rw-r--r--internal/rosa/report.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/rosa/report.go b/internal/rosa/report.go
index 01c3cf91..1fbd0e43 100644
--- a/internal/rosa/report.go
+++ b/internal/rosa/report.go
@@ -32,12 +32,13 @@ func WriteReport(msg message.Msg, w io.Writer, c *pkg.Cache) error {
zero [wordSize]byte
buf [len(pkg.ID{}) + wordSize]byte
)
+ t := native.Std()
for _, p := range native.Collect() {
- a, _ := native.Load(Std, p)
meta := native.Get(p)
if meta == nil {
return errors.New("artifact " + p.String() + " in inconsistent state")
}
+ a, _ := t.MustLoad(p)
if _, ok := a.(pkg.FileArtifact); ok {
msg.Verbosef("skipping file artifact %s", meta.Name)
continue