mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Fix typos
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
This commit is contained in:
parent
139a13d312
commit
88d6e89279
@ -54,7 +54,7 @@ type bootstrapTokenData interface {
|
||||
Tokens() []string
|
||||
}
|
||||
|
||||
// NewBootstrapTokenPhase returns the phase to boostrapToken
|
||||
// NewBootstrapTokenPhase returns the phase to bootstrapToken
|
||||
func NewBootstrapTokenPhase() workflow.Phase {
|
||||
return workflow.Phase{
|
||||
Name: "bootstrap-token",
|
||||
@ -67,11 +67,11 @@ func NewBootstrapTokenPhase() workflow.Phase {
|
||||
options.KubeconfigPath,
|
||||
options.SkipTokenPrint,
|
||||
},
|
||||
Run: runBoostrapToken,
|
||||
Run: runBootstrapToken,
|
||||
}
|
||||
}
|
||||
|
||||
func runBoostrapToken(c workflow.RunData) error {
|
||||
func runBootstrapToken(c workflow.RunData) error {
|
||||
data, ok := c.(bootstrapTokenData)
|
||||
if !ok {
|
||||
return errors.New("bootstrap-token phase invoked with an invalid data struct")
|
||||
|
Loading…
Reference in New Issue
Block a user