Skip to content

Commit 4ce8610

Browse files
committed
bugfix: fix incorrect init threshold parameter
1 parent 95d2465 commit 4ce8610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def __coordinate_threshold(self):
113113
if is_stable == True:
114114
if self.start_time is None:
115115
self.start_time = datetime.now()
116-
new_threshold = get_new_threshold(namespace=self.namespace, deployment_name=self.deployment_name, app_name=self.app_name, start_time=self.start_time, period=self.metrics_period, latest_requests=requests)
116+
new_threshold = get_new_threshold(deployment_name=self.deployment_name, app_name=self.app_name, start_time=self.start_time, period=self.metrics_period, latest_requests=requests)
117117
self.autoscaler_logger.info(f"model forecast_data : {requests}")
118118
self.threshold_logger.info(f"new_threshold : {new_threshold[-1]}")
119119
with self.target_cpu_utilization.get_lock():

0 commit comments

Comments
 (0)