From ffbd7b22b38dc6038ecb7287ad226f7db9ada021 Mon Sep 17 00:00:00 2001 From: stewart-yu Date: Wed, 25 Jul 2018 11:23:56 +0800 Subject: [PATCH] remove the unnecessary comments in tryRegisterWithAPIServer for externalID removed in PR#61877 --- pkg/kubelet/kubelet_node_status.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/kubelet/kubelet_node_status.go b/pkg/kubelet/kubelet_node_status.go index ce55bb53ece..a66c2a760be 100644 --- a/pkg/kubelet/kubelet_node_status.go +++ b/pkg/kubelet/kubelet_node_status.go @@ -79,9 +79,7 @@ func (kl *Kubelet) registerWithAPIServer() { // the API server, returning a boolean indicating whether the attempt was // successful. If a node with the same name already exists, it reconciles the // value of the annotation for controller-managed attach-detach of attachable -// persistent volumes for the node. If a node of the same name exists but has -// a different externalID value, it attempts to delete that node so that a -// later attempt can recreate it. +// persistent volumes for the node. func (kl *Kubelet) tryRegisterWithAPIServer(node *v1.Node) bool { _, err := kl.kubeClient.CoreV1().Nodes().Create(node) if err == nil {