From 34a5bfb65dc907e5687812a4a74f1375fb96c869 Mon Sep 17 00:00:00 2001 From: chrismark Date: Thu, 22 Oct 2020 12:37:38 +0300 Subject: [PATCH] Remove old TODO on kubernetes node update Signed-off-by: chrismark --- libbeat/autodiscover/providers/kubernetes/node.go | 1 - 1 file changed, 1 deletion(-) diff --git a/libbeat/autodiscover/providers/kubernetes/node.go b/libbeat/autodiscover/providers/kubernetes/node.go index a78622756cd..95e23b33d2a 100644 --- a/libbeat/autodiscover/providers/kubernetes/node.go +++ b/libbeat/autodiscover/providers/kubernetes/node.go @@ -105,7 +105,6 @@ func (n *node) OnUpdate(obj interface{}) { time.AfterFunc(n.config.CleanupTimeout, func() { n.emit(node, "stop") }) } else { n.logger.Debugf("Watcher Node update: %+v", obj) - // TODO: figure out how to avoid stop starting when node status is periodically being updated by kubelet n.emit(node, "stop") n.emit(node, "start") }