mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Fix resource-gatherer that never gathered resources from non-master machines
This commit is contained in:
parent
a24f03c3c9
commit
eb48166d5b
@ -281,7 +281,9 @@ func NewResourceUsageGatherer(c *client.Client, options ResourceGathererOptions)
|
|||||||
finished: false,
|
finished: false,
|
||||||
inKubemark: false,
|
inKubemark: false,
|
||||||
})
|
})
|
||||||
break
|
if options.masterOnly {
|
||||||
|
break
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user