mirror of https://github.com/k3s-io/k3s
Typo fix.
parent
ab794c6128
commit
d5319ec63d
|
@ -36,7 +36,7 @@ func RetrieveTrustedClusterInfo(d *kubeadmapi.TokenDiscovery) (*kubeadmapi.Clust
|
|||
requestURL := fmt.Sprintf("http://%s/cluster-info/v1/?token-id=%s", d.Addresses[0], d.ID)
|
||||
req, err := http.NewRequest("GET", requestURL, nil)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to consturct an HTTP request [%v]", err)
|
||||
return nil, fmt.Errorf("failed to construct an HTTP request [%v]", err)
|
||||
}
|
||||
|
||||
fmt.Printf("[discovery] Created cluster info discovery client, requesting info from %q\n", requestURL)
|
||||
|
|
Loading…
Reference in New Issue