From 5a7222585674618566506c0d688a226fb345f8d8 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Tue, 10 Dec 2019 13:53:32 +0100 Subject: [PATCH] vmm: api: Update CpuConfig name to match the internal name All structures match between the OpenAPI definition and the internal configuration code, that's why CpuConfig is being renamed into CpusConfig. Signed-off-by: Sebastien Boeuf --- vmm/src/api/openapi/cloud-hypervisor.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index a1de44daf..b577f30e6 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -171,7 +171,7 @@ components: type: object properties: cpus: - $ref: '#/components/schemas/CpuConfig' + $ref: '#/components/schemas/CpusConfig' memory: $ref: '#/components/schemas/MemoryConfig' kernel: @@ -221,7 +221,7 @@ components: default: false description: Virtual machine configuration - CpuConfig: + CpusConfig: required: - boot_vcpus - max_vcpus