Skip to content

Commit da84e5a

Browse files
committed
revert
1 parent 6094e8c commit da84e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/autoscaling/src/simcore_service_autoscaling/utils/cluster_scaling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def find_selected_instance_type_for_task(
109109
selected_instance = filtered_instances[0]
110110

111111
# check that the assigned resources and the machine resource fit
112-
if not (task_required_resources <= selected_instance.resources):
112+
if task_required_resources > selected_instance.resources:
113113
raise TaskRequirementsAboveRequiredEC2InstanceTypeError(
114114
task=task,
115115
instance_type=selected_instance,

0 commit comments

Comments
 (0)