Skip to content

Commit 31e0d16

Browse files
authored
Merge pull request #994 from q384566678/vm-parameters-fix
vm: fix parameters field
2 parents 038448f + fc51617 commit 31e0d16

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)