From 089374e8d64eec85a4aad3221c934cc3520a256c Mon Sep 17 00:00:00 2001 From: Haosdent Huang Date: Mon, 9 Dec 2019 15:32:28 +0800 Subject: [PATCH] e2e: remove unused method in e2e/framework/autoscaling. --- test/e2e/framework/autoscaling/autoscaling_utils.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/e2e/framework/autoscaling/autoscaling_utils.go b/test/e2e/framework/autoscaling/autoscaling_utils.go index d6564a2fff5..90f527a5d9f 100644 --- a/test/e2e/framework/autoscaling/autoscaling_utils.go +++ b/test/e2e/framework/autoscaling/autoscaling_utils.go @@ -106,11 +106,6 @@ type ResourceConsumer struct { requestSizeCustomMetric int } -// GetResourceConsumerImage is a wrapper to get the fully qualified URI of the ResourceConsumer image -func GetResourceConsumerImage() string { - return resourceConsumerImage -} - // NewDynamicResourceConsumer is a wrapper to create a new dynamic ResourceConsumer func NewDynamicResourceConsumer(name, nsName string, kind schema.GroupVersionKind, replicas, initCPUTotal, initMemoryTotal, initCustomMetric int, cpuLimit, memLimit int64, clientset clientset.Interface, scaleClient scaleclient.ScalesGetter) *ResourceConsumer { return newResourceConsumer(name, nsName, kind, replicas, initCPUTotal, initMemoryTotal, initCustomMetric, dynamicConsumptionTimeInSeconds,