storj/storagenode/orders/ordersfile
Moby von Briesen 53ba01b1f1 storagenode/orders/ordersfile/v0.go: Return ErrEntryCorrupt on pb.Unmarshal failure
In V0 orders files, unexpected EOF is correctly treated as a file
corruption, but pb.Unmarshal can also fail, and this is not treated as a
file corruption. This commit fixes that.

Change-Id: I6b446a10f4b1a5a44e832cbcc9bf8b2548cfcfeb
2020-10-26 17:38:22 +00:00
..
common.go storagenode/orders: Add V1 orders file 2020-10-14 15:04:33 +00:00
v0.go storagenode/orders/ordersfile/v0.go: Return ErrEntryCorrupt on pb.Unmarshal failure 2020-10-26 17:38:22 +00:00
v1.go storagenode/orders: Add V1 orders file 2020-10-14 15:04:33 +00:00