We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6094e8c commit da84e5aCopy full SHA for da84e5a
services/autoscaling/src/simcore_service_autoscaling/utils/cluster_scaling.py
@@ -109,7 +109,7 @@ def find_selected_instance_type_for_task(
109
selected_instance = filtered_instances[0]
110
111
# check that the assigned resources and the machine resource fit
112
- if not (task_required_resources <= selected_instance.resources):
+ if task_required_resources > selected_instance.resources:
113
raise TaskRequirementsAboveRequiredEC2InstanceTypeError(
114
task=task,
115
instance_type=selected_instance,
0 commit comments