File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cmd/kubeadm/app/cmd/phases/init Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ type bootstrapTokenData interface {
54
54
Tokens () []string
55
55
}
56
56
57
- // NewBootstrapTokenPhase returns the phase to boostrapToken
57
+ // NewBootstrapTokenPhase returns the phase to bootstrapToken
58
58
func NewBootstrapTokenPhase () workflow.Phase {
59
59
return workflow.Phase {
60
60
Name : "bootstrap-token" ,
@@ -67,11 +67,11 @@ func NewBootstrapTokenPhase() workflow.Phase {
67
67
options .KubeconfigPath ,
68
68
options .SkipTokenPrint ,
69
69
},
70
- Run : runBoostrapToken ,
70
+ Run : runBootstrapToken ,
71
71
}
72
72
}
73
73
74
- func runBoostrapToken (c workflow.RunData ) error {
74
+ func runBootstrapToken (c workflow.RunData ) error {
75
75
data , ok := c .(bootstrapTokenData )
76
76
if ! ok {
77
77
return errors .New ("bootstrap-token phase invoked with an invalid data struct" )
You can’t perform that action at this time.
0 commit comments