mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #86782 from tanjunchen/remove-TODO-test/e2e/framework/node/resource
remove TODO in test/e2e/framework/node/resource.go
This commit is contained in:
commit
b9c0aa0b2a
@ -153,7 +153,6 @@ func IsConditionUnset(node *v1.Node, conditionType v1.NodeConditionType) bool {
|
||||
|
||||
// Filter filters nodes in NodeList in place, removing nodes that do not
|
||||
// satisfy the given condition
|
||||
// TODO: consider merging with pkg/client/cache.NodeLister
|
||||
func Filter(nodeList *v1.NodeList, fn func(node v1.Node) bool) {
|
||||
var l []v1.Node
|
||||
|
||||
@ -333,7 +332,6 @@ func GetPublicIps(c clientset.Interface) ([]string, error) {
|
||||
// 2) Needs to be ready.
|
||||
// If EITHER 1 or 2 is not true, most tests will want to ignore the node entirely.
|
||||
// If there are no nodes that are both ready and schedulable, this will return an error.
|
||||
// TODO: remove references in framework/util.go.
|
||||
func GetReadySchedulableNodes(c clientset.Interface) (nodes *v1.NodeList, err error) {
|
||||
nodes, err = checkWaitListSchedulableNodes(c)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user