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/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new a23a3e2 fix bug #3165 get resource.storage.type value toUpperCase
(#3166)
a23a3e2 is described below
commit a23a3e2d1254acf1d6c194f4996824e3f290cae1
Author: felix-thinkingdata
<[email protected]>
AuthorDate: Thu Jul 9 18:28:04 2020 +0800
fix bug #3165 get resource.storage.type value toUpperCase (#3166)
Co-authored-by: dailidong <[email protected]>
---
.../java/org/apache/dolphinscheduler/common/utils/PropertyUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/PropertyUtils.java
b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/PropertyUtils.java
index ba1fcd6..d0c08b1 100644
---
a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/PropertyUtils.java
+++
b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/PropertyUtils.java
@@ -72,7 +72,7 @@ public class PropertyUtils {
* @return judge whether resource upload startup
*/
public static Boolean getResUploadStartupState(){
- String resUploadStartupType =
PropertyUtils.getString(Constants.RESOURCE_STORAGE_TYPE);
+ String resUploadStartupType =
PropertyUtils.getString(Constants.RESOURCE_STORAGE_TYPE).toUpperCase();
ResUploadType resUploadType =
ResUploadType.valueOf(resUploadStartupType);
return resUploadType == ResUploadType.HDFS || resUploadType ==
ResUploadType.S3;
}