From 10499fb2abaf6d02100713fe9cab11a696bf8b40 Mon Sep 17 00:00:00 2001 From: Kimmo Lehto Date: Wed, 3 Nov 2021 11:54:30 +0200 Subject: [PATCH] Not a struct pointer --- phase/configure_k0s.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phase/configure_k0s.go b/phase/configure_k0s.go index 66f4d8be..d4ab3ce4 100644 --- a/phase/configure_k0s.go +++ b/phase/configure_k0s.go @@ -138,7 +138,7 @@ func addUnlessExist(slice *[]string, s string) { func (p *ConfigureK0s) configFor(h *cluster.Host) (string, error) { cfg := p.Config.Spec.K0s.Config.Dup() - err := defaults.Set(&cfg) + err := defaults.Set(cfg) if err != nil { return "", err }