aboutsummaryrefslogtreecommitdiff
path: root/format/pack/ingest/ingest.go
diff options
context:
space:
mode:
Diffstat (limited to 'format/pack/ingest/ingest.go')
-rw-r--r--format/pack/ingest/ingest.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/format/pack/ingest/ingest.go b/format/pack/ingest/ingest.go
index df6c6627..22007d27 100644
--- a/format/pack/ingest/ingest.go
+++ b/format/pack/ingest/ingest.go
@@ -39,7 +39,7 @@ func ingest(state *ingestState) (out Result, err error) {
}
if len(state.unresolvedRefDeltas) > 0 {
- return Result{}, &ErrThinPackUnresolved{Count: len(state.unresolvedRefDeltas)}
+ return Result{}, &ThinPackUnresolvedError{Count: len(state.unresolvedRefDeltas)}
}
err = verifyResolvedRecords(state)
@@ -49,7 +49,7 @@ func ingest(state *ingestState) (out Result, err error) {
err = state.packFile.Sync()
if err != nil {
- return Result{}, &ErrDestinationWrite{Op: fmt.Sprintf("sync pack: %v", err)}
+ return Result{}, &DestinationWriteError{Op: fmt.Sprintf("sync pack: %v", err)}
}
err = writeIdx(state)