Typo fix.

pull/6/head
Jacob Beacham 2017-02-03 11:49:19 -08:00
parent ab794c6128
commit d5319ec63d
1 changed files with 1 additions and 1 deletions

View File

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