You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/03/14 07:44:55 UTC

[GitHub] [dolphinscheduler] caishunfeng commented on a change in pull request #8871: fix create&update workflow cron APIs, verify the end time must bigger than start time

caishunfeng commented on a change in pull request #8871:
URL: https://github.com/apache/dolphinscheduler/pull/8871#discussion_r825661741



##########
File path: dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/SchedulerServiceImpl.java
##########
@@ -168,6 +168,11 @@
             putMsg(result, Status.SCHEDULE_START_TIME_END_TIME_SAME);
             return result;
         }
+        if (scheduleParam.getStartTime().getTime() > scheduleParam.getEndTime().getTime()) {

Review comment:
       can startTime == endTime?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org