mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +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",
|
Use: "init",
|
||||||
Short: "Run this command in order to set up the Kubernetes master.",
|
Short: "Run this command in order to set up the Kubernetes master.",
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
|
|
||||||
kubeadmscheme.Scheme.Default(externalcfg)
|
|
||||||
|
|
||||||
var err error
|
var err error
|
||||||
if externalcfg.FeatureGates, err = features.NewFeatureGate(&features.InitFeatureGates, featureGatesString); err != nil {
|
if externalcfg.FeatureGates, err = features.NewFeatureGate(&features.InitFeatureGates, featureGatesString); err != nil {
|
||||||
kubeadmutil.CheckErr(err)
|
kubeadmutil.CheckErr(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user