mirror of https://github.com/k3s-io/k3s
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