Closed chantra closed 1 year ago
Given the error in https://github.com/oxidecomputer/third-party-api-clients/actions/runs/4429625601/jobs/7770453008
I wonder if clippy handles the feature switch fine.
For some reasons, I cannot repro locally on my devbox.
I believe this is just due to the CI not having all of the generated files. It currently runs against whatever is on main (without generating anything). I'm generating the updated clients now (to include the conditional IOError
variant), and that should fix CI
In #57, I forgot to test with httpcache feature enabled. There were some anyhow reference left that got exposed during CI.
This change converts
anyhow::Error
s toClientError
s andanyhow::Result
s toClientResult
s.Tested using: