Skip to content

Commit 546a0ce

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 1b7ac60 commit 546a0ce

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
@@ -33,13 +33,13 @@ type Spec struct {
3333
// VM contains information for virtual-machine-based runtimes.
3434
type VM struct {
3535
// Kernel specifies kernel-related configuration for virtual-machine-based runtimes.
36-
Kernel Kernel `json:"kernel"`
36+
Kernel VMKernel `json:"kernel"`
3737
// ImagePath is the host path to the root filesystem image on the host which can be used by a virtual-machine-based runtime.
3838
ImagePath string `json:"imagePath"`
3939
}
4040

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

0 commit comments

Comments
 (0)