Skip to content

Commit a41e34f

Browse files
authored
[Fix-17175] The base path of COS resources obtained is incorrect (#17176)
1 parent 4b38848 commit a41e34f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • dolphinscheduler-storage-plugin/dolphinscheduler-storage-cos/src/main/java/org/apache/dolphinscheduler/plugin/storage/cos

dolphinscheduler-storage-plugin/dolphinscheduler-storage-cos/src/main/java/org/apache/dolphinscheduler/plugin/storage/cos/CosStorageOperatorFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ private CosStorageProperties getCosStorageProperties() {
5252
.accessKeySecret(cosPropertiesMap.get(CosStorageConstants.TENCENT_CLOUD_ACCESS_KEY_SECRET))
5353
.bucketName(cosPropertiesMap.get(CosStorageConstants.TENCENT_CLOUD_COS_BUCKET_NAME))
5454
.resourceUploadPath(
55-
cosPropertiesMap.getOrDefault(StorageConstants.RESOURCE_UPLOAD_PATH,
55+
PropertyUtils.getString(StorageConstants.RESOURCE_UPLOAD_PATH,
5656
CosStorageConstants.DEFAULT_COS_RESOURCE_UPLOAD_PATH))
5757
.build();
5858
}

0 commit comments

Comments
 (0)