diff --git a/phase/configure_k0s.go b/phase/configure_k0s.go index b0e5b558..66f4d8be 100644 --- a/phase/configure_k0s.go +++ b/phase/configure_k0s.go @@ -138,7 +138,10 @@ func addUnlessExist(slice *[]string, s string) { func (p *ConfigureK0s) configFor(h *cluster.Host) (string, error) { cfg := p.Config.Spec.K0s.Config.Dup() - defaults.Set(&cfg) + err := defaults.Set(&cfg) + if err != nil { + return "", err + } var sans []string