Merge pull request #15237 from mikedanese/ds-bug-3

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-10-08 10:50:59 -07:00
4 changed files with 4 additions and 7 deletions

View File

@@ -447,10 +447,7 @@ func (dsc *DaemonSetsController) updateDaemonSetStatus(ds *experimental.DaemonSe
numDaemonPods := len(nodeToDaemonPods[node.Name])
// TODO(mikedanese): this does not count nodes that should be running
// exactly one daemon pod but are running more than one daemon pods.
if shouldRun && numDaemonPods == 1 {
if shouldRun && numDaemonPods > 0 {
currentNumberScheduled++
}