Skip to content

Commit 89ed60a

Browse files
author
James O. D. Hunt
committed
Rename Kernel type to VMKernel for clarity.
Signed-off-by: James O. D. Hunt <[email protected]>
1 parent 177157d commit 89ed60a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

specs-go/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ type Spec struct {
3232
// VM contains information for virtual-machine-based runtimes.
3333
type VM struct {
3434
// Kernel specifies kernel-related configuration for virtual-machine-based runtimes.
35-
Kernel Kernel `json:"kernel"`
35+
Kernel VMKernel `json:"kernel"`
3636
// ImagePath is the host path to the root filesystem image on the host which can be used by a virtual-machine-based runtime.
3737
ImagePath string `json:"imagePath"`
3838
}
3939

40-
// Kernel contains information about the kernel to use for a virtual machine.
41-
type Kernel struct {
40+
// VMKernel contains information about the kernel to use for a virtual machine.
41+
type VMKernel struct {
4242
// Path is the host path to the kernel used to boot the virtual machine.
4343
Path string `json:"path"`
4444
// Parameters specifies parameters to pass to the kernel.

0 commit comments

Comments
 (0)