Merge pull request #25751 from gmarek/gatherer

Automatic merge from submit-queue

Fix resource-gatherer that never gathered resources from non-master m…
This commit is contained in:
k8s-merge-robot 2016-05-17 10:15:36 -07:00
commit f3ab7b182f

View File

@ -281,7 +281,9 @@ func NewResourceUsageGatherer(c *client.Client, options ResourceGathererOptions)
finished: false,
inKubemark: false,
})
break
if options.masterOnly {
break
}
}
}
}