mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-01 02:55:45 +00:00
vmm: openapi: Fix default value for tap
`tap` has its default value set to `None`, but in the openapi yaml file we've been setting it to `""`. When using this code on the Kata Containers side we'd be hit by a non expected behaviour of cloud-hypervisor, as even when using a different method to initialise the `tuntap` device the code would be treated as if using `--net tap` (which is a valid use-case). Related: #3554 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
6738e45b37
commit
cb15ae5462
@ -744,7 +744,6 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
tap:
|
tap:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
|
||||||
ip:
|
ip:
|
||||||
type: string
|
type: string
|
||||||
default: "192.168.249.1"
|
default: "192.168.249.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user