Skip to content

Commit

Permalink
Merge pull request opencontainers#994 from q384566678/vm-parameters-fix
Browse files Browse the repository at this point in the history
vm: fix parameters field
  • Loading branch information
hqhq authored Nov 6, 2018
2 parents 038448f + fc51617 commit 31e0d16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,15 +528,15 @@ type VMHypervisor struct {
// Path is the host path to the hypervisor used to manage the virtual machine.
Path string `json:"path"`
// Parameters specifies parameters to pass to the hypervisor.
Parameters string `json:"parameters,omitempty"`
Parameters []string `json:"parameters,omitempty"`
}

// VMKernel contains information about the kernel to use for a virtual machine.
type VMKernel struct {
// Path is the host path to the kernel used to boot the virtual machine.
Path string `json:"path"`
// Parameters specifies parameters to pass to the kernel.
Parameters string `json:"parameters,omitempty"`
Parameters []string `json:"parameters,omitempty"`
// InitRD is the host path to an initial ramdisk to be used by the kernel.
InitRD string `json:"initrd,omitempty"`
}
Expand Down

0 comments on commit 31e0d16

Please sign in to comment.