Skip to content

Commit fc51617

Browse files
author
Zhou Hao
committed
vm: fix parameters field
Signed-off-by: Zhou Hao <[email protected]>
1 parent 038448f commit fc51617

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specs-go/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,15 +528,15 @@ type VMHypervisor struct {
528528
// Path is the host path to the hypervisor used to manage the virtual machine.
529529
Path string `json:"path"`
530530
// Parameters specifies parameters to pass to the hypervisor.
531-
Parameters string `json:"parameters,omitempty"`
531+
Parameters []string `json:"parameters,omitempty"`
532532
}
533533

534534
// VMKernel contains information about the kernel to use for a virtual machine.
535535
type VMKernel struct {
536536
// Path is the host path to the kernel used to boot the virtual machine.
537537
Path string `json:"path"`
538538
// Parameters specifies parameters to pass to the kernel.
539-
Parameters string `json:"parameters,omitempty"`
539+
Parameters []string `json:"parameters,omitempty"`
540540
// InitRD is the host path to an initial ramdisk to be used by the kernel.
541541
InitRD string `json:"initrd,omitempty"`
542542
}

0 commit comments

Comments
 (0)