mirror of
https://github.com/restic/restic.git
synced 2026-11-21 21:12:42 +00:00
Update dependencies, enable pruning for vendor/
So, `dep` got an nice new feature to remove tests and non-go files from `vendor/`, and this brings the size of the vendor directory from ~300MiB down to ~20MiB. We don that now.
This commit is contained in:
1 parent
3422c1ca83
commit
bff635bc5f
6741 files changed
+26940
-4902031
No files matched your search
+3
-1
@@ -127,7 +127,9 @@ func makePacket(p rxPacket) (requestPacket, error) {
|
||||
return nil, errors.Errorf("unhandled packet type: %s", p.pktType)
|
||||
}
|
||||
if err := pkt.UnmarshalBinary(p.pktBytes); err != nil {
|
||||
return nil, err
|
||||
// Return partially unpacked packet to allow callers to return
|
||||
// error messages appropriately with necessary id() method.
|
||||
return pkt, err
|
||||
}
|
||||
return pkt, nil
|
||||
}
|
||||
Reference in new issue
Block a user