Skip to content

Commit aef791c

Browse files
authored
Fix config marshaling (#194)
1 parent d97cc1f commit aef791c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phase/configure_k0s.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ func (p *ConfigureK0s) configFor(h *cluster.Host) (string, error) {
177177
cfg.DigMapping("spec", "storage", "etcd")["peerAddress"] = addr
178178
}
179179

180-
c, err := yaml.Marshal(p.Config.Spec.K0s.Config)
180+
c, err := yaml.Marshal(cfg)
181181
if err != nil {
182182
return "", err
183183
}

0 commit comments

Comments
 (0)