Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit c724f2d

Browse files
authored
fix autoscale pool size check (#1067)
1 parent 1121ebc commit c724f2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytypes/onefuzztypes/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ class AutoScaleConfig(BaseModel):
605605

606606
@root_validator()
607607
def check_data(cls, values: Any) -> Any:
608-
if values["min_size"] <= values["max_size"]:
608+
if values["min_size"] > values["max_size"]:
609609
raise ValueError("The pool min_size is greater than max_size")
610610
return values
611611

0 commit comments

Comments
 (0)