vmm: api: Fix the vm.info response payload

We are returning a state and a config.

Fixes: #431

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz 2019-11-12 16:49:20 +01:00 committed by Sebastien Boeuf
parent 2dcd36f2f0
commit 6af2f57644

View File

@ -141,8 +141,8 @@ components:
- state
type: object
properties:
version:
type: string
config:
$ref: '#/components/schemas/VmConfig'
state:
type: string
enum: [Created, Booted, Shutdown]