Merge pull request #69517 from SataQiu/fix-2018100801

cleanup: delete duplicate lines
This commit is contained in:
k8s-ci-robot
2018-10-10 16:46:45 -07:00
committed by GitHub

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)