destinyoooo opened a new pull request, #18411: URL: https://github.com/apache/dolphinscheduler/pull/18411
<!--Thanks very much for contributing to Apache DolphinScheduler, we are happy that you want to help us improve DolphinScheduler! --> ## Was this PR generated or assisted by AI? NO. ## Purpose of the pull request Added validation for the `limit` parameter in `FetchFileContentDtoValidator`. ## Brief change log - Allow only `limit == -1` or `limit > 0`. - Throw `ServiceException` when `limit` is `0` or less than `-1`. ## Verify this pull request This change added tests and can be verified as follows: - Added a unit test for the invalid `limit` case. -- 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]
