KaiSong-UK opened a new pull request, #18287: URL: https://github.com/apache/dolphinscheduler/pull/18287
close #18286 ## Purpose When user configures custom workerGroup (e.g. g_suyc) and there is no default group in workerGroup management list, the system still defaults to default as workerGroup in the API layer, causing ambiguity and potential errors when: - Creating/updating schedules (project preferences) - Executing workflows - Starting workflow/task checks This is a server-side fix that removes the hardcoded defaultValue = " default\ in the API controllers, allowing the upstream logic to handle the default based on actual available workerGroups. ## Changes - **SchedulerController.java**: Removed defaultValue = \default\ from createSchedule, updateSchedule, updateScheduleByWorkflowDefinitionCode methods - **ExecutorController.java**: Removed defaultValue = \default\ from startCheckResult, execTaskInstance, execute methods ## Verify - [ ] Verify this PR is a improvement for the issue #18286. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
