From 6b04c7e994ee7b1d8c9a855623644c741a6c9446 Mon Sep 17 00:00:00 2001 From: Andrea Mazzotti Date: Fri, 23 Feb 2024 13:50:55 +0100 Subject: [PATCH] Fix mapping Signed-off-by: Andrea Mazzotti --- pkg/types/v1/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/types/v1/config.go b/pkg/types/v1/config.go index 843cd5e4345..a7171eced3a 100644 --- a/pkg/types/v1/config.go +++ b/pkg/types/v1/config.go @@ -359,7 +359,7 @@ func (r *ResetSpec) Sanitize() error { } type UpgradeSpec struct { - RecoveryOnlyUpgrade bool `yaml:"recovery-only,omitempty" mapstructure:"recovery"` + RecoveryOnlyUpgrade bool `yaml:"recovery-only,omitempty" mapstructure:"recovery-only"` RecoveryUpgrade bool `yaml:"recovery,omitempty" mapstructure:"recovery"` System *ImageSource `yaml:"system,omitempty" mapstructure:"system"` RecoverySystem Image `yaml:"recovery-system,omitempty" mapstructure:"recovery-system"`