mirror of
https://github.com/restic/restic.git
synced 2025-10-21 12:39:32 +00:00
replace github.com/juju/arrar by /errors
This commit is contained in:
@@ -2,7 +2,6 @@ package restic
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
@@ -10,12 +9,13 @@ import (
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
"github.com/juju/arrar"
|
||||
"github.com/restic/restic/backend"
|
||||
"github.com/restic/restic/debug"
|
||||
"github.com/restic/restic/pack"
|
||||
"github.com/restic/restic/pipe"
|
||||
"github.com/restic/restic/server"
|
||||
|
||||
"github.com/juju/errors"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -137,7 +137,7 @@ func (arch *Archiver) SaveFile(p *Progress, node *Node) error {
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
return arrar.Annotate(err, "SaveFile() chunker.Next()")
|
||||
return errors.Annotate(err, "Chunker.Next()")
|
||||
}
|
||||
|
||||
chunks++
|
||||
|
Reference in New Issue
Block a user