mirror of
https://github.com/restic/restic.git
synced 2026-10-29 11:35:42 +00:00
Remove error from return value of NewContentHandler
This commit is contained in:
1 parent
4b70bba588
commit
fe231af7fc
8 files changed
+9
-28
No files matched your search
+1
-4
@@ -55,10 +55,7 @@ func NewArchiver(s Server, p *Progress) (*Archiver, error) {
|
||||
arch.Filter = func(string, os.FileInfo) bool { return true }
|
||||
|
||||
arch.bl = NewBlobList()
|
||||
arch.ch, err = NewContentHandler(s)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
arch.ch = NewContentHandler(s)
|
||||
|
||||
// load all blobs from all snapshots
|
||||
err = arch.ch.LoadAllMaps()
|
||||
|
||||
Reference in new issue
Block a user