diff options
| author | Shaolei Zhou <the.reason.sake@gmail.com> | 2023-09-04 16:19:58 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-04 16:19:58 +0800 |
| commit | fec7ff92244478a4d2f189086c92c3e138f26a6f (patch) | |
| tree | c085ff03f30d70a84063928b17a52a439c5e533b /robusta_krr | |
| parent | 3d0b3bcfec2a1c08d33cec308124364f607158b8 (diff) | |
Update simple.py
Diffstat (limited to 'robusta_krr')
| -rw-r--r-- | robusta_krr/strategies/simple.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/robusta_krr/strategies/simple.py b/robusta_krr/strategies/simple.py index 93efb5f..465a6f8 100644 --- a/robusta_krr/strategies/simple.py +++ b/robusta_krr/strategies/simple.py @@ -88,7 +88,7 @@ class SimpleStrategy(BaseStrategy[SimpleStrategySettings]): if object_data.hpa is not None and object_data.hpa.target_cpu_utilization_percentage is not None: return ResourceRecommendation.undefined(info="HPA detected") - cpu_usage = self.settings.calculate_cpu_proposal(data) + cpu_usage = self.settings.calculate_cpu_proposal(filtered_data) return ResourceRecommendation(request=cpu_usage, limit=None) def __calculate_memory_proposal( |
