Skip to content

Commit

Permalink
Fix config marshaling (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenard committed Aug 25, 2021
1 parent d97cc1f commit aef791c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phase/configure_k0s.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func (p *ConfigureK0s) configFor(h *cluster.Host) (string, error) {
cfg.DigMapping("spec", "storage", "etcd")["peerAddress"] = addr
}

c, err := yaml.Marshal(p.Config.Spec.K0s.Config)
c, err := yaml.Marshal(cfg)
if err != nil {
return "", err
}
Expand Down

0 comments on commit aef791c

Please sign in to comment.