This is an automated email from the ASF dual-hosted git repository.
wenjun 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 a41e34fd3b [Fix-17175] The base path of COS resources obtained is
incorrect (#17176)
a41e34fd3b is described below
commit a41e34fd3b101809023f0842f6c7bfcec093b75f
Author: gaoyan <[email protected]>
AuthorDate: Fri May 16 18:23:34 2025 +0800
[Fix-17175] The base path of COS resources obtained is incorrect (#17176)
---
.../dolphinscheduler/plugin/storage/cos/CosStorageOperatorFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dolphinscheduler-storage-plugin/dolphinscheduler-storage-cos/src/main/java/org/apache/dolphinscheduler/plugin/storage/cos/CosStorageOperatorFactory.java
b/dolphinscheduler-storage-plugin/dolphinscheduler-storage-cos/src/main/java/org/apache/dolphinscheduler/plugin/storage/cos/CosStorageOperatorFactory.java
index bc408cd32f..4ed59e3db1 100644
---
a/dolphinscheduler-storage-plugin/dolphinscheduler-storage-cos/src/main/java/org/apache/dolphinscheduler/plugin/storage/cos/CosStorageOperatorFactory.java
+++
b/dolphinscheduler-storage-plugin/dolphinscheduler-storage-cos/src/main/java/org/apache/dolphinscheduler/plugin/storage/cos/CosStorageOperatorFactory.java
@@ -52,7 +52,7 @@ public class CosStorageOperatorFactory implements
StorageOperatorFactory {
.accessKeySecret(cosPropertiesMap.get(CosStorageConstants.TENCENT_CLOUD_ACCESS_KEY_SECRET))
.bucketName(cosPropertiesMap.get(CosStorageConstants.TENCENT_CLOUD_COS_BUCKET_NAME))
.resourceUploadPath(
-
cosPropertiesMap.getOrDefault(StorageConstants.RESOURCE_UPLOAD_PATH,
+
PropertyUtils.getString(StorageConstants.RESOURCE_UPLOAD_PATH,
CosStorageConstants.DEFAULT_COS_RESOURCE_UPLOAD_PATH))
.build();
}