Skip to content

Commit

Permalink
Remove old TODO on kubernetes node update (elastic#22074)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrsMark committed Oct 26, 2020
1 parent 97d7324 commit d36a510
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libbeat/autodiscover/providers/kubernetes/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit d36a510

Please sign in to comment.