File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ func main() {
22
22
flag .StringVar (& configPath , "config-path" , "" ,
23
23
"Path where the join configuration will be written. For example: config/kubeadm-join.yaml." +
24
24
"If not provided, stdout if used." )
25
- flag .StringVar (& apiServerEndpoint , "api-server-endoint " , "" ,
25
+ flag .StringVar (& apiServerEndpoint , "api-server-endpoint " , "" ,
26
26
"API server endpoint used to bootstrap the Node. For example: 10.0.0.20:6443." )
27
27
flag .StringVar (& token , "token" , "" , "Token used to bootstrap the Node." )
28
28
flag .StringVar (& caCertHash , "ca-cert-hash" , "" , "CA certificate hash used to bootstrap the Node." )
@@ -32,7 +32,7 @@ func main() {
32
32
flag .Parse ()
33
33
34
34
if apiServerEndpoint == "" || token == "" || caCertHash == "" {
35
- fmt .Println ("api-server-endoint , token and ca-cert-hash flags are mandatory." )
35
+ fmt .Println ("api-server-endpoint , token and ca-cert-hash flags are mandatory." )
36
36
os .Exit (1 )
37
37
}
38
38
You can’t perform that action at this time.
0 commit comments