mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Make daemon.NodeShouldRunDaemonPod function public
This commit is contained in:
@@ -528,7 +528,7 @@ func (dsc *DaemonSetsController) updatedDesiredNodeCounts(ds *apps.DaemonSet, no
|
||||
var desiredNumberScheduled int
|
||||
for i := range nodeList {
|
||||
node := nodeList[i]
|
||||
wantToRun, _ := dsc.nodeShouldRunDaemonPod(node, ds)
|
||||
wantToRun, _ := NodeShouldRunDaemonPod(node, ds)
|
||||
if !wantToRun {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user