Skip to content

Commit cdc5098

Browse files
committed
Use consistent naming for VMOpts and vmOpts
go: VMOpts.QEMU.CPUType, VMOpts.VZ.Rosetta yaml: vmOpts.qemu.cpuType, vmOpts.vz.rosetta Signed-off-by: Anders F Björklund <[email protected]>
1 parent 86a7a5a commit cdc5098

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/limatype/lima_yaml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type LimaYAML struct {
2020
OS *OS `yaml:"os,omitempty" json:"os,omitempty" jsonschema:"nullable"`
2121
Arch *Arch `yaml:"arch,omitempty" json:"arch,omitempty" jsonschema:"nullable"`
2222
Images []Image `yaml:"images,omitempty" json:"images,omitempty" jsonschema:"nullable"`
23-
// Deprecated: Use VMOpts.Qemu.CPUType instead.
23+
// Deprecated: Use VMOpts.QEMU.CPUType instead.
2424
CPUType CPUType `yaml:"cpuType,omitempty" json:"cpuType,omitempty" jsonschema:"nullable"`
2525
CPUs *int `yaml:"cpus,omitempty" json:"cpus,omitempty" jsonschema:"nullable"`
2626
Memory *string `yaml:"memory,omitempty" json:"memory,omitempty" jsonschema:"nullable"` // go-units.RAMInBytes

templates/default.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ os: null
386386
# DEPRECATED: Use vmOpts.qemu.cpuType instead. See the vmOpts.qemu.cpuType section above for configuration.
387387
cpuType:
388388

389-
# DEPRECATED: Use vmOpts.vz.rosetta instead. See the vmOpts.qemu.cpuType section above for configuration.
389+
# DEPRECATED: Use vmOpts.vz.rosetta instead. See the vmOpts.vz.rosetta section above for configuration.
390390
rosetta:
391391
enabled: null
392392
binfmt: null

0 commit comments

Comments
 (0)