repository: rename PackError to ErrPackMetadata

This commit is contained in:
Michael Eischer
2026-06-04 23:17:56 +02:00
parent 8b19ddeda8
commit 8844cf1876
3 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -307,7 +307,7 @@ func runCheck(ctx context.Context, opts CheckOptions, gopts global.Options, args
go chkr.Packs(ctx, errChan)
for err := range errChan {
var packErr *repository.PackError
var packErr *repository.ErrPackMetadata
if errors.As(err, &packErr) {
if packErr.Orphaned {
orphanedPacks++