diff options
Diffstat (limited to 'internal/rosa/report.go')
| -rw-r--r-- | internal/rosa/report.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/rosa/report.go b/internal/rosa/report.go index 1fbd0e43..29a74233 100644 --- a/internal/rosa/report.go +++ b/internal/rosa/report.go @@ -34,11 +34,10 @@ func WriteReport(msg message.Msg, w io.Writer, c *pkg.Cache) error { ) t := native.Std() for _, p := range native.Collect() { - meta := native.Get(p) + meta, a := t.MustLoad(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 |
