Skip to content

Commit 4b8ecd6

Browse files
authored
Merge pull request kubernetes#74509 from ping035627/k8s-190225-1
Fix typos
2 parents ff61314 + 88d6e89 commit 4b8ecd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/kubeadm/app/cmd/phases/init/bootstraptoken.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ type bootstrapTokenData interface {
5454
Tokens() []string
5555
}
5656

57-
// NewBootstrapTokenPhase returns the phase to boostrapToken
57+
// NewBootstrapTokenPhase returns the phase to bootstrapToken
5858
func NewBootstrapTokenPhase() workflow.Phase {
5959
return workflow.Phase{
6060
Name: "bootstrap-token",
@@ -67,11 +67,11 @@ func NewBootstrapTokenPhase() workflow.Phase {
6767
options.KubeconfigPath,
6868
options.SkipTokenPrint,
6969
},
70-
Run: runBoostrapToken,
70+
Run: runBootstrapToken,
7171
}
7272
}
7373

74-
func runBoostrapToken(c workflow.RunData) error {
74+
func runBootstrapToken(c workflow.RunData) error {
7575
data, ok := c.(bootstrapTokenData)
7676
if !ok {
7777
return errors.New("bootstrap-token phase invoked with an invalid data struct")

0 commit comments

Comments
 (0)