You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Finishing TODO in pingora-header-serde for checking if path is a file + avoiding panics #925
The TODO can be easily completed and the return type can be changed to Result<Vec<u8>, Error> to account for invalid paths (and avoid panics on unwrap).
I will be making a PR soon after this issue is published - I made the minimum required changes and all the tests in the same file pass with cargo test from the subdirectory and cargo test -p pingora-header-serde from root.
Activity
fix(header-serde): change train() to return Result and skip subdirs