Skip to content

Commit

Permalink
Fix gofmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlorenc committed Apr 14, 2018
1 parent 6158dd4 commit 2ec4692
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/minikube/bootstrapper/kubeadm/kubeadm.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ func (k *KubeadmBootstrapper) StartCluster(k8s config.KubernetesConfig) error {

b := bytes.Buffer{}
templateContext := struct {
KubeadmConfigFile string
SkipPreflightChecks bool
Preflights []string
KubeadmConfigFile string
SkipPreflightChecks bool
Preflights []string
}{
KubeadmConfigFile: constants.KubeadmConfigFile,
SkipPreflightChecks: !VersionIsBetween(version,
semver.MustParse("1.9.0-alpha.0"),
semver.Version{}),
Preflights: constants.Preflights,
KubeadmConfigFile: constants.KubeadmConfigFile,
SkipPreflightChecks: !VersionIsBetween(version,
semver.MustParse("1.9.0-alpha.0"),
semver.Version{}),
Preflights: constants.Preflights,
}
if err := kubeadmInitTemplate.Execute(&b, templateContext); err != nil {
return err
Expand Down

0 comments on commit 2ec4692

Please sign in to comment.