mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #69517 from SataQiu/fix-2018100801
cleanup: delete duplicate lines
This commit is contained in:
commit
8a4022fd49
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user