Merge pull request #74509 from ping035627/k8s-190225-1

Fix typos
pull/564/head
Kubernetes Prow Robot 2019-02-25 15:15:51 -08:00 committed by GitHub
commit 4b8ecd68f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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")