From cdc5098f3a279ce4e08612bfe67f39b16ad71eba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Sun, 7 Sep 2025 21:57:31 +0200 Subject: [PATCH] Use consistent naming for VMOpts and vmOpts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit go: VMOpts.QEMU.CPUType, VMOpts.VZ.Rosetta yaml: vmOpts.qemu.cpuType, vmOpts.vz.rosetta Signed-off-by: Anders F Björklund --- pkg/limatype/lima_yaml.go | 2 +- templates/default.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/limatype/lima_yaml.go b/pkg/limatype/lima_yaml.go index 367f5bc9887..d92d48456b1 100644 --- a/pkg/limatype/lima_yaml.go +++ b/pkg/limatype/lima_yaml.go @@ -20,7 +20,7 @@ type LimaYAML struct { OS *OS `yaml:"os,omitempty" json:"os,omitempty" jsonschema:"nullable"` Arch *Arch `yaml:"arch,omitempty" json:"arch,omitempty" jsonschema:"nullable"` Images []Image `yaml:"images,omitempty" json:"images,omitempty" jsonschema:"nullable"` - // Deprecated: Use VMOpts.Qemu.CPUType instead. + // Deprecated: Use VMOpts.QEMU.CPUType instead. CPUType CPUType `yaml:"cpuType,omitempty" json:"cpuType,omitempty" jsonschema:"nullable"` CPUs *int `yaml:"cpus,omitempty" json:"cpus,omitempty" jsonschema:"nullable"` Memory *string `yaml:"memory,omitempty" json:"memory,omitempty" jsonschema:"nullable"` // go-units.RAMInBytes diff --git a/templates/default.yaml b/templates/default.yaml index d1a0061696b..6cc04e0e29c 100644 --- a/templates/default.yaml +++ b/templates/default.yaml @@ -386,7 +386,7 @@ os: null # DEPRECATED: Use vmOpts.qemu.cpuType instead. See the vmOpts.qemu.cpuType section above for configuration. cpuType: -# DEPRECATED: Use vmOpts.vz.rosetta instead. See the vmOpts.qemu.cpuType section above for configuration. +# DEPRECATED: Use vmOpts.vz.rosetta instead. See the vmOpts.vz.rosetta section above for configuration. rosetta: enabled: null binfmt: null