Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
Signed-off-by: sunby <[email protected]>
  • Loading branch information
sunby committed Oct 8, 2023
1 parent cd5955a commit 18e1222
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/storage/manifest/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ func ParseFromFile(f fs.Fs, path string) (*Manifest, error) {
manifestProto := &manifest_proto.Manifest{}

buf, err := f.ReadFile(path)
if err != nil {
return nil, err
}
err = proto.Unmarshal(buf, manifestProto)
if err != nil {
log.Error("Failed to unmarshal manifest proto", log.String("err", err.Error()))
Expand Down

0 comments on commit 18e1222

Please sign in to comment.