mirror of https://github.com/k3s-io/k3s
commit
5e90834abe
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue