Skip to content

Commit

Permalink
feat(platform): gofmt code
Browse files Browse the repository at this point in the history
  • Loading branch information
dihu committed Sep 28, 2020
1 parent b6318ad commit 8c7c3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/platform/provider/baremetal/cluster/kubeadm.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (p *Provider) getClusterConfiguration(c *v1.Cluster) *kubeadmv1beta2.Cluste
if config.Etcd.Local != nil {
config.Etcd.Local.ImageTag = images.Get().ETCD.Tag

if config.Etcd.Local.ExtraArgs != nil && p.config.Etcd.ExtraArgs != nil{
if config.Etcd.Local.ExtraArgs != nil && p.config.Etcd.ExtraArgs != nil {
utilruntime.Must(mergo.Merge(&config.Etcd.Local.ExtraArgs, p.config.Etcd.ExtraArgs))
}
}
Expand Down

0 comments on commit 8c7c3bd

Please sign in to comment.