diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/builder/el/operator/RetryOperator.java b/liteflow-core/src/main/java/com/yomahub/liteflow/builder/el/operator/RetryOperator.java index a6c756b17..38f8c6b6c 100644 --- a/liteflow-core/src/main/java/com/yomahub/liteflow/builder/el/operator/RetryOperator.java +++ b/liteflow-core/src/main/java/com/yomahub/liteflow/builder/el/operator/RetryOperator.java @@ -15,7 +15,7 @@ import com.yomahub.liteflow.flow.element.condition.RetryCondition; public class RetryOperator extends BaseOperator { @Override public Condition build(Object[] objects) throws Exception { - OperatorHelper.checkObjectSizeGtTwo(objects); + OperatorHelper.checkObjectSizeGteTwo(objects); Executable executable = OperatorHelper.convert(objects[0], Executable.class); Integer retryTimes = OperatorHelper.convert(objects[1], Integer.class); RetryCondition retryCondition = new RetryCondition();