mirror of
https://github.com/restic/restic.git
synced 2026-11-14 06:44:03 +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
@@ -53,10 +53,7 @@ func (cmd CmdCat) Execute(args []string) error {
|
||||
}
|
||||
}
|
||||
|
||||
ch, err := restic.NewContentHandler(s)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
ch := restic.NewContentHandler(s)
|
||||
|
||||
switch tpe {
|
||||
case "blob":
|
||||
|
||||
Reference in new issue
Block a user