cleanup: delete duplicate lines

pull/58/head
SataQiu 2018-10-08 17:14:22 +08:00
parent 6764bc495e
commit 6b7951a2d0
1 changed files with 0 additions and 3 deletions

View File

@ -124,9 +124,6 @@ func NewCmdInit(out io.Writer) *cobra.Command {
Use: "init",
Short: "Run this command in order to set up the Kubernetes master.",
Run: func(cmd *cobra.Command, args []string) {
kubeadmscheme.Scheme.Default(externalcfg)
var err error
if externalcfg.FeatureGates, err = features.NewFeatureGate(&features.InitFeatureGates, featureGatesString); err != nil {
kubeadmutil.CheckErr(err)