diff --git a/src/pytypes/onefuzztypes/models.py b/src/pytypes/onefuzztypes/models.py index 06d4a603f8..cc4691386a 100644 --- a/src/pytypes/onefuzztypes/models.py +++ b/src/pytypes/onefuzztypes/models.py @@ -605,7 +605,7 @@ class AutoScaleConfig(BaseModel): @root_validator() def check_data(cls, values: Any) -> Any: - if values["min_size"] <= values["max_size"]: + if values["min_size"] > values["max_size"]: raise ValueError("The pool min_size is greater than max_size") return values