remove unused codes in test/e2e/autoscaling

This commit is contained in:
hangaoshuai 2018-07-25 14:39:27 +08:00
parent 9e0c4a6095
commit 96edecffd4

View File

@ -368,26 +368,6 @@ var _ = framework.KubeDescribe("Cluster size autoscaler scalability [Slow]", fun
}) })
func makeUnschedulable(f *framework.Framework, nodes []v1.Node) error {
for _, node := range nodes {
err := makeNodeUnschedulable(f.ClientSet, &node)
if err != nil {
return err
}
}
return nil
}
func makeSchedulable(f *framework.Framework, nodes []v1.Node) error {
for _, node := range nodes {
err := makeNodeSchedulable(f.ClientSet, &node, false)
if err != nil {
return err
}
}
return nil
}
func anyKey(input map[string]int) string { func anyKey(input map[string]int) string {
for k := range input { for k := range input {
return k return k