mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #101998 from kcx2366425574/master
remove unused params
This commit is contained in:
commit
4f7663993c
@ -17,13 +17,11 @@ limitations under the License.
|
||||
package alpha
|
||||
|
||||
import (
|
||||
"io"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
// NewCmdAlpha returns "kubeadm alpha" command.
|
||||
func NewCmdAlpha(in io.Reader, out io.Writer) *cobra.Command {
|
||||
func NewCmdAlpha() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "alpha",
|
||||
Short: "Kubeadm experimental sub-commands",
|
||||
|
@ -91,7 +91,7 @@ func NewKubeadmCommand(in io.Reader, out, err io.Writer) *cobra.Command {
|
||||
cmds.AddCommand(newCmdVersion(out))
|
||||
cmds.AddCommand(newCmdToken(out, err))
|
||||
cmds.AddCommand(upgrade.NewCmdUpgrade(out))
|
||||
cmds.AddCommand(alpha.NewCmdAlpha(in, out))
|
||||
cmds.AddCommand(alpha.NewCmdAlpha())
|
||||
options.AddKubeadmOtherFlags(cmds.PersistentFlags(), &rootfsPath)
|
||||
cmds.AddCommand(newCmdKubeConfigUtility(out))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user