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 2020/11/18 07:47:49 UTC

[GitHub] [incubator-dolphinscheduler] RunAsOnehhb opened a new issue #4076: [Improvement][Scheduler] SchedulerService.deleteScheduleById can be improved

RunAsOnehhb opened a new issue #4076:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4076


   # **Before**
   
   ​        `if (delete > 0) {`
   ​            `putMsg(result, Status.SUCCESS);`
   ​        `} else {`
   ​            `putMsg(result, Status.DELETE_SCHEDULE_CRON_BY_ID_ERROR);`
   ​        }
   
   # **After**
   
   `putMsg(result, delete > 0 ? Status.SUCCESS : Status.DELETE_SCHEDULE_CRON_BY_ID_ERROR);`


----------------------------------------------------------------
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.

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



[GitHub] [incubator-dolphinscheduler] CalvinKirs commented on issue #4076: [Improvement][Scheduler] SchedulerService.deleteScheduleById can be improved

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on issue #4076:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4076#issuecomment-729505678


   This question has been created, you can refer to #3435. Are you interested in improving it?


----------------------------------------------------------------
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.

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



[GitHub] [incubator-dolphinscheduler] CalvinKirs closed issue #4076: [Improvement][Scheduler] SchedulerService.deleteScheduleById can be improved

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #4076:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4076


   


----------------------------------------------------------------
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.

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