This is an automated email from the ASF dual-hosted git repository.
lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 04c6b5e413 [Bug][Api] Added param description. (#12813)
04c6b5e413 is described below
commit 04c6b5e4131c87258e47cdcfb4d5b3f21f9e78e4
Author: houshitao <[email protected]>
AuthorDate: Tue Nov 8 21:17:40 2022 +0800
[Bug][Api] Added param description. (#12813)
Co-authored-by: houshitao <[email protected]>
---
.../apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java
index 155595dfe0..afbb502ddc 100644
---
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java
+++
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java
@@ -808,6 +808,8 @@ public class ResourcesServiceImpl extends BaseServiceImpl
implements ResourcesSe
* @param loginUser login user
* @param fullName full name
* @param file file
+ * @param type resource type
+ * @return upload success return true, otherwise false
*/
private boolean upload(User loginUser, String fullName, MultipartFile
file, ResourceType type) {
// save to local