Merge pull request #75102 from qingsenLi/k8s190307-fix-typo

fix a typo
k3s-v1.15.3
Kubernetes Prow Robot 2019-03-20 00:54:23 -07:00 committed by GitHub
commit 5e90834abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ func getNodeRegistration(kubeconfigDir string, client clientset.Interface, nodeR
// gets the corresponding node and retrives attributes stored there.
node, err := client.CoreV1().Nodes().Get(nodeName, metav1.GetOptions{})
if err != nil {
return errors.Wrap(err, "faild to get corresponding node")
return errors.Wrap(err, "failed to get corresponding node")
}
criSocket, ok := node.ObjectMeta.Annotations[constants.AnnotationKubeadmCRISocket]