fix a typo

k3s-v1.15.3
qingsenLi 2019-03-08 04:05:49 +08:00
parent 0b48018a39
commit 55d34ac97e
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]