Merge pull request #69517 from SataQiu/fix-2018100801

cleanup: delete duplicate lines
pull/58/head
k8s-ci-robot 2018-10-10 16:46:45 -07:00 committed by GitHub
commit 8a4022fd49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)