Sending invalid payload to API causes panic #469
Labels
area/api
Indicates an issue or PR relates to the APIs
kind/bug
Something isn't working
needs-investigation
Requires more information (from opener or investigation) before work can begin
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
What happened:
Sending an invalid payload to CreateMicroVM, like what you’d send to the ListMicroVMs (e.g.) { namespace: "ayx" }, crashes flintlock with the following error:
What did you expect to happen:
Sending an invalid payload should not cause a panic.
How to reproduce it:
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
/etc/os-release
):The text was updated successfully, but these errors were encountered: