Skip to content

Commit

Permalink
Remove old TODO on kubernetes node update (#22074) (#22154)
Browse files Browse the repository at this point in the history
(cherry picked from commit d36a510)
  • Loading branch information
ChrsMark authored Oct 27, 2020
1 parent 983d7dc commit 9865477
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 9865477

Please sign in to comment.