cloud-hypervisor/vmm
Rob Bradford 6ec605a7fb vmm: api: Refactor generic action handler
Rather than save the save a function pointer and use that instead the
underlying action. This is useful for two reasons:

1. We can ensure that we generate HttpErrors in the same way as the
   other endpoints where API error variant should be determined by the
   request being made not the underlying error.
2. It can be extended to handle other generic actions where the function
   prototype differs slightly.

As result of this refactoring it was found that the "vm.delete" endpoint
was not connected so address that issue.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-05-14 16:55:51 +01:00
..
src vmm: api: Refactor generic action handler 2020-05-14 16:55:51 +01:00
Cargo.toml build(deps): bump libc from 0.2.69 to 0.2.70 2020-05-12 20:26:43 +02:00