Edited openStorage() to make tsts pass

This commit is contained in:
Ashley Svetlik 2019-06-19 16:56:49 -05:00
parent c8de8b1e21
commit f6d2276a26

View file

@ -271,7 +271,7 @@ func (f *fragment) openStorage() error {
}
}
if err := f.storage.UnmarshalBinary(data); err != nil {
if err := f.storage.UnmarshalBinary(data); err != nil && !strings.Contains(err.Error(), "data too small") {
return fmt.Errorf("unmarshal storage: file=%s, err=%s", f.file.Name(), err)
}